[request] (https://github.com/mikeal/request)
[mocha] (https://github.com/visionmedia/mocha)
[should] (https://github.com/visionmedia/should.js)
Install from NPM with:
npm install tmdbv3
Then,
var tmdb = require('tmdbv3').init(key);
tmdb.misc.latest(function(err,res) {
console.log(res.title);
});
tmdb.movie.info(5, function(err,res) {
console.log(res.title);
});
tmdb.person.info(109, function(err,res) {
console.log(res.name);
});
// setting french as default language...
tmdb.setLanguage('fr');
// and resetting to english.
tmdb.resetLanguage();
etc.
All methods live right now (2012-08-08) implemented.
Testing is done by mocha.
See TMDb v3 page about the api
For TMDb's old v2.1 api, go to [kkarikos repo] (https://raw.github.com/kkarikos/tmdb).
kkariko: I used part of your request code here, contact me if you have questions, I can't find a way to contact you.