Skip to content

leon3110l/themoviedb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

an api wrapper for the movie database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published