Description
A simple way to download information of TV Shows available on TVDB database
Installation
Simplest way to install tvdbwebservice
is to use npm, just npm install tvdbwebservice
which will download tvdbwebservice and all dependencies.
Usage
No extensive tutorials required. Here's some examples.
Just Start Using
Initialize your App
tvdbWebService = require 'tvdbwebservice'tvdbWebServicesetTvdbApiKey 'yourTvdbApiKey'
To Search for a Series just provide its name
tvdbWebServicegetSeriesByName name consolelog data return
Download Series Information using its TVDB ID
tvdbWebServicegetSeriesOnlyById id consolelog data return
Download Complete Series Information along with Cast Description and Banners
tvdbWebServicegetSeriesPlusActorsPlusBanners id consolelog data return
Download All Banners using Series TVDB ID
tvdbWebServicegetBannersForSeriesWithId id consolelog data return
Download Cast Description using Series TVDB ID
tvdbWebServicegetActorsForSeriesWithId id consolelog data return
Download details for Episode aired on a given Date for Series with ID
tvdbWebServicegetEpisodeAiredOnDateForSeriesWithId airDateid consolelog data return
So you wanna some JSON?
Just parse the the data received JSON.parse(data)
to get the result in JSON form