ThetvdbMapper
Fetch data from thetvdb.com and mapping to common hash, where keys are symbols and underline.
Installation
Add this line to your application's Gemfile:
gem 'thetvdb_mapper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install thetvdb_mapper
Usage
ThetvdbMapper::Actor.new(series_id).data # return actors
ThetvdbMapper::Banners.new(series_id).data # return banners hash (not image)
ThetvdbMapper::Episode.new(episode_id).data # return episode
ThetvdbMapper::FullSeries.new(series_id).data # return series with all episodes
ThetvdbMapper::Series.new(series_id).data # return series
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request