SerenityNow
Minimalist Ruby wrapper for TVRage API.
"Serenity now, insanity later"
Installation
Add this line to your application's Gemfile:
gem 'serenity_now'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install serenity_now
Usage
SerenityNow.search('buffy')
SerenityNow.search('buffy', true) # detailed show info
SerenityNow.info(:show_id, true) # show info and episode list
SerenityNow.list(:show_id) # only episode list
SerenityNow.e_info(:show_id, :ep_no) # episode info, :ep_no is optional
# data from http://services.tvrage.com/info.php?page=fullschedule
SerenityNow.schedule
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