tmdb-client
the movie database api for client
note
module compative with the movie database api version 3
the movie database api version 3 document tmdb-api-v3
almost api has removed because it not neccessary
installation
# use node package manager
npm install tmdb-client
usage
import module
var TmdbClient = require('tmdb-client');
create an instance of tmdb client
var tmdbClient = new TmdbClient();
var api = {
host: <string>,
key: <string>,
path: <object>
};
var tmdbClient = new TmdbClient(api);
find movie with selector
var selector = {
pageIndex: <number>
};
tmdbClient.find(selector, function(error, items) {});
development
# clone form revision system control
git clone git@github.com:thelordofthetimes/tmdb-client.git
cd tmdb-client
# install dependency module
npm install
# run test
npm test
# write code and more..
# update revision system control
# require ssh-key, please contact with owner to get one
git add .
git commit -am '<message>'
git push