Skip to content
Get Your Favorite TV show and its episodes from TVDB easy.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
Gemfile
LICENSE.txt
README.md
Rakefile
thetvdb.gemspec

README.md

Thetvdb

A Ruby Wrapper for TVDB API

While there are other existing TVDB gems, none of them offers the following:

  • Retrieving series episodes without having to query for series id first
  • Not having to enter TVDB API key each time a call is made.

Installation

Add this line to your application's Gemfile:

gem 'thetvdb-ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install thetvdb-ruby

Usage

Create TheTvDB initializer thetvdb.rb

$ rails g thetvdb

Edit the initializer file and place your TVDB API key

require 'thetvdb' API_KEY = "Your API Key"

Getting shows

To query for shows, use the command

$ show = Thetvdb::Client.new("name of show").get_show

Note to replace "name of show" with the show you want to query

##How I developed it Read on how I developed the gem here

You can’t perform that action at this time.