npm.io
1.0.4 • Published 9 years ago

letsflix

Licence
ISC
Version
1.0.4
Deps
0
Vulns
0
Weekly
0

Letsflix

An npm package written in ES6 for discovering whether a movie or TV show is available on Netflix from the Guidebox API. If not, alternative sources are provided.

Basic Usage

const Letsflix = require('letsflix');

/**
* Letsflix accepts three parameters:
* @key (string) => A Guidebox API key
* @type (string) => Either 'movie' or 'show'
* @title (string) => The movie or TV show title
**/
let netflixQuery = new Letsflix('api_key', 'show', 'Abstract');

netflixQuery.on('end', console.dir);

netflixQuery.on('error', console.error);