/Movie-Api

Movie API / retrieving and searching movie data from an external API

Primary LanguageJavaScriptMIT LicenseMIT

Movie API

Movie API is a simple Node.js application that provides endpoints for retrieving and searching movie data from an external API.

Features

  • Fetch latest movie updates
  • Search for movies
  • Retrieve detailed information about series
  • Get movies by genre

Technologies Used

  • JavaScript

Endpoints

  • /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

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/movie-api.git
  2. Navigate to the project directory:

    cd movie-api
  3. Install dependencies:

    npm install
  4. Start the server:

    npm start

The server will start on port 3000 by default. You can access it at http://localhost:8000.

Demos

You can use the Endpoints section to test the demo and put what you want at the end of the domain below

Example :

To fetch movies in the Action genre, you can use the following URL:

Contact

For any inquiries or feedback, please contact @mmdceto.