0.0.1 • Published 10 years ago

imdb-watchlist v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

imdb-watchlist

Build Status Coverage Status

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