tvdbwebservice

Node.js module to download information about your favourite TV Shows from TVDB

Usage no npm install needed!

<script type="module">
  import tvdbwebservice from 'https://cdn.skypack.dev/tvdbwebservice';
</script>

README

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'
tvdbWebService.setTvdbApiKey 'yourTvdbApiKey'

To Search for a Series just provide its name

tvdbWebService.getSeriesByName name, (data) ->
  console.log data
  return

Download Series Information using its TVDB ID

tvdbWebService.getSeriesOnlyById id, (data) ->
  console.log data
  return

Download Complete Series Information along with Cast Description and Banners

tvdbWebService.getSeriesPlusActorsPlusBanners id, (data) ->
  console.log data
  return

Download All Banners using Series TVDB ID

tvdbWebService.getBannersForSeriesWithId id, (data) ->
  console.log data
  return

Download Cast Description using Series TVDB ID

tvdbWebService.getActorsForSeriesWithId id, (data) ->
  console.log data
  return

Download details for Episode aired on a given Date for Series with ID

tvdbWebService.getEpisodeAiredOnDateForSeriesWithId airDate, id, (data) ->
  console.log data
  return

So you wanna some JSON?

Just parse the the data received JSON.parse(data) to get the result in JSON form