imdb-watchlist
v0.0.1
Published
Get to watch list from imdb
Downloads
1
Readme
imdb-watchlist
Fetch imdb watchlists based on userid
Installation
npm install --save imdb-watchlist
Usage
var imdbWatchlist = require('imdb-watchlist');
imdbWatchlist('ur23098466').then(function (watchlist) {
// watchlist is an array of objects on the form:
// { title: '', imdbId: ''}
// This will log out a random movie from your watchlist
console.log(watchlist[Math.floor(Math.random() * watchlist.length)]);
});
Want more info?
Read the tests or the source. More documentation is coming later..
MIT © Rolf Erik Lekang