A simple TvRage API.
A library to query against the TvRage API.
$ npm install --save tvragejs
The following example shows how to get the first result for a search and displays its name and show id to the console. The XML response from TvRage
var tvragejs = new require'tvragejs';tvragejssearch'Game of Thrones'if errthrow err;console.logresponseshow0name + ': ' + responseshow0showid;;
Currently implements all feeds as listed on the TvRage Services Page
callback always has the parameters of
response is a
object have been converted to lower case and the root has been removed (eg,
Results or Show)
$ npm install$ npm test
Copyright (c) 2014 John Kernke