GithubHelp home page GithubHelp logo

saintwe / imdb-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tuhinpal/imdb-api

0.0 0.0 0.0 128 KB

Serverless IMDB API powered by Cloudflare Worker

Home Page: https://imdb-api.projects.thetuhin.com/

License: Apache License 2.0

JavaScript 99.61% Dockerfile 0.39%

imdb-api's Introduction

Important Update: Project Discontinued ๐Ÿ””

IMDb has recently launched their official API, providing developers with authorized access to their database. Given this development, I've made the decision to discontinue maintenance of this project for the following reasons:

  1. To avoid potential conflicts with IMDb's terms of service and intellectual property rights.
  2. To encourage the use of officially supported and maintained data sources.

Recommendations for users of this project:

  1. Transition to IMDb's official API for the most up-to-date and reliable movie data.
  2. Consider using alternative sources like TMDB (The Movie Database) API as another robust option.

This repository will be archived to preserve the code for reference purposes. Thank you to all contributors and users for your support throughout this project's lifespan.

For any questions or concerns, please refer to IMDb's developer documentation or explore TMDB's API offerings.

IMDB API

Features ๐Ÿชถ

  • Search titles
  • Search by IMDB ID
  • Cacheable Result
  • High Performance
  • Get episode information
  • Get all reviews with full pagination supported

Installation ๐Ÿ“ฆ

If you anticipate sending a large number of requests, it is recommended that you deploy your own Cloudflare worker. Installation is pretty easy and straight forward. Click the button below to get started.

Deploy to Cloudflare Workers

After deployed, map the worker to a Domain Name to configure cache. Only Workers deployed to custom domains have access to functional cache operations.

Run with docker ๐Ÿ‹

  • Clone this repository
  • Build the image
    docker build -t imdb-api .
    
  • Start the process (Deatached)
    docker run -p 3000:3000 -it -d imdb-api
    

API ๐Ÿ“ก

Run in Postman

Endpoint Method Description Example
/search?query={query} GET Search titles by title Try It
/title/{imdb_id} GET Get details of a title Try It
/reviews/{imdb_id}?option={helpfulness|date|votes|rating}&sortOrder={asc|desc} GET Get reviews of a title Try It
/title/{imdb_id}/season/{season_id} GET (New) Fetch a single season of a series Try It
/user/{user_id} GET (New) Fetch an user's info Try It
/user/{user_id}/ratings?ratingFilter={1-10}&sort={most_recent|oldest|top_rated|worst_rated} GET (New) Fetch an user's ratings and reviews Try It

License ๐ŸŽฏ

Have a good day ๐Ÿค˜

imdb-api's People

Contributors

tuhinpal avatar spechide avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.