Promised based Javascript API wrapper for https://www.themoviedb.org/ that works in the browser and node.js.
It works for versions 3 and 4 of TMDB.
It works out of the box for modern browsers and node versions greater or equal to 10.13.0
This package is distributed via npm:
npm install @leonardocabeza/the-movie-db
First, get an API key here: https://www.themoviedb.org/faq/api
You can read the examples folder in this repo or you can also try it out in a REPL
For more methods exposed by v3 and v4 functions, you could refer to the api docs for a full list:
<script crossorigin src="https://unpkg.com/@leonardocabeza/the-movie-db@latest/dist/the-movie-db.umd.js"></script>
See CONTRIBUTING.md
@leonardocabeza/the-movie-db
depends on a native ES6 Promise implementation to be supported.
If your environment doesn't support ES6 Promises, you can polyfill.
This product uses the TMDb API but is not endorsed or certified by TMDb.