tvrage-x
v0.0.1
Published
API client for TVRage (http://tvrage.com/)
Downloads
1
Readme
About
This is essentially this TVDB module rewritten to use the TVRage API.
Right now, there are only 2 methods
search
simply takes a string as input and returns a list of results
getEpisodeInfo
takes in an object containing the id of the series, the season number and the episode number
Dependencies
Usage
Install from NPM with:
npm install tvrage-x
Then,
var TVRage = require('tvrage-x')();
TVRage.search('Castle', function(err, data){
console.log(data);
})
TVRage.getEpisodeInfo({
showid: 19267,
season: 5,
episode: 5
}, function(err, data){
console.log(data.show.episode.title);
})