Interface for the TVRage API

npm install tvrage
4 downloads in the last week
8 downloads in the last month


Search and retrieve television data from TVRAGE

tvrage = require './tvrage'

tv = new tvrage.Proxy()

tv.findOne 'alias', (err, show) ->
  console.log 'findOne for "alias":'
  cosnole.log "#{}: #{}, #{show.status}" # Alias: ABC, Canceled/Ended
  console.log show.genres # [ 'Action', 'Adventure', 'Drama' ]
  console.log show.akas[0] # { name: 'A Vingadora', country: 'PT' }

tv.fullShowInfo 3548, (err, show) ->
  console.log show.seasons.length, 'seasons of Firefly' # 1 season of Firefly 'battlestar', (err, results) ->
  console.log "#{results.length} results for 'battlestar' search" # 5 results...
  console.log results[0]

See and the tests for more examples.

npm loves you