@leonardocabeza/the-movie-db

4.5.0 • Public • Published

npm bundle size npm bundle size GitHub license workflow status semantic-release

@leonardocabeza/the-movie-db

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.

Table of Contents

Compatibility

It works out of the box for modern browsers and node versions greater or equal to 10.13.0

Installation

This package is distributed via npm:

npm install @leonardocabeza/the-movie-db

Usage

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

API

For more methods exposed by v3 and v4 functions, you could refer to the api docs for a full list:

CDN

<script crossorigin src="https://unpkg.com/@leonardocabeza/the-movie-db@latest/dist/the-movie-db.umd.js"></script>

Contributing

See CONTRIBUTING.md

Promises

@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.

About

This product uses the TMDb API but is not endorsed or certified by TMDb.

TMDb

Package Sidebar

Install

npm i @leonardocabeza/the-movie-db

Weekly Downloads

2

Version

4.5.0

License

MIT

Unpacked Size

492 kB

Total Files

6

Last publish

Collaborators

  • leonardocabeza