themoviedatabase

1.1.1 • Public • Published

themoviedb

an api wrapper for the movie database

installation

$ npm install themoviedatabase --save

example

const TheMovieDatabase = require("themoviedatabase");
const tmdb = new TheMovieDatabase("your api key");
 
Promise.all([
  tmdb.jobs(),
  tmdb.movies.videos(null, {movie_id: 297762})
]).then(stuff => {
  console.log(stuff);
});
 
tmdb.search.movies({query: "batman", year: 2007}).then(movies => {
  console.log(movies);
});

notes

  • It only has the "GET" methods for now.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    1
  • 1.1.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i themoviedatabase

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • leon3110l