Movie API is a simple Node.js application that provides endpoints for retrieving and searching movie data from an external API.
- Fetch latest movie updates
- Search for movies
- Retrieve detailed information about series
- Get movies by genre
- JavaScript
/list
: Fetches the latest updates./search?text=<query>
: Searches for movies based on the query./get?id=<id>
: Retrieves series information based on the series ID.- Genre-specific endpoints:
/MAction
/MAdventure
/MAnimation
/MWeeklyoffer
/MChinaJapan
/MComedy
/MCool
/MCriminal
/MDocumentary
/MWestern
/MDrama
/MWar
/MFamily
/MFantasy
/MFavorites
/MHistorical
/MIndian
/MKorean
/MMusic
/MMystery
/MNewseries
/MOscar2023
/MRomantic
/MScary
/MScienceFiction
-
Clone the repository:
git clone https://github.com/yourusername/movie-api.git
-
Navigate to the project directory:
cd movie-api
-
Install dependencies:
npm install
-
Start the server:
npm start
The server will start on port 3000 by default. You can access it at http://localhost:8000
.
You can use the Endpoints section to test the demo and put what you want at the end of the domain below
To fetch movies in the Action genre, you can use the following URL:
For any inquiries or feedback, please contact @mmdceto.