tmdb-3

0.0.9 • Public • Published

tmbd

TheMovieDB nodejs API wrapper Really basic, only provides '/search/:type' and '/:type/:id' methods.

For API routes list : http://docs.themoviedb.apiary.io/

var tmdb = require('tmdb-3')('YOUR_API_KEY');
    
//Searching
tmdb.search('movie', {query: 'Harry Potter', language: 'fr'}, function (err, results) {
    //Informations on first ID
    tmdb.infos('movie', results.results[0].id, {language: 'fr'}, function (err, results) {

        console.log(results);

    });
});

Readme

Keywords

none

Package Sidebar

Install

npm i tmdb-3

Weekly Downloads

0

Version

0.0.9

License

MIT

Last publish

Collaborators

  • soyuka