TvrageApi
tvrage_api is a simple ruby client for accessing TV shows information from the tvrage.com API.
Getting started
You can add it to your Gemfile with:
gem 'tvrage_api'
Run the bundle command to install it.
How to use
All request class return instance where result method contain object or collection.
For example:
series = TvrageApi::Request::Show.find('buffy')
series.result
=> #<TvrageApi::Show ...>
- TvrageApi::Request::Search.find(show_name) - return collection of show
- TvrageApi::Request::Search.find_full(show_name) - return collection of show with more details
- TvrageApi::Request::Show.find(show_id) - return show
- TvrageApi::Request::Show.find_full(show_id) - return show with more details
- TvrageApi::Request::Show.episodes(show_id) - return simple show information with all episodes
- TvrageApi::Request::Show.episode(show_id, season, episode) - return simple show information with specific episode
- TvrageApi::Request::Update.all - return all shows (simple information: id, name)
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




