/imdb-api

Serverless IMDB API powered by Cloudflare Worker

Primary LanguageJavaScriptApache License 2.0Apache-2.0

IMDB API

Features 🪶

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

Installation 📦

Installation is pretty easy and straight forward. Click the button below to get started.

Deploy to Cloudflare Workers

  • After deployed Open Cloudflare Worker Page
  • Click on KV
  • In Namespace Name section Type a Name & Click on Add, a namespace will created.
  • Now go back to worker main page, here you will see that your created worker listed there, click on that.
  • Click on Settings > Variables
  • In KV Namespace Bindings section click on Add Binding
  • Write CACHE in Variable name & select your recently created Namespace for KV namespace.

API 📡

Run in Postman

  • /search?query={query} for search by title - Try It
  • /title/{imdb_id} get details of a title - Try It
  • /reviews/{imdb_id}?option={helpfulness|date|votes|rating}&sortOrder={asc|desc} get reviews of a title - Try It

License 🎯

Have a good day 🤘