SyoboiCalendar
Simple gem for SyoboiCalendar to search Japanese anime lineup
Installation
Add this line to your application's Gemfile:
gem 'syoboi_calendar'
And then execute:
$ bundle
Or install it yourself as:
$ gem install syoboi_calendar
Usage
require "syoboi_calender"
client = SyoboiCalendar::Client.new(
:user => "r7kamura",
:pass => "********"
)
programs = client.search(
:first => true,
:range => "2012/4/1-2012/4/30"
)
p programs[0].name #=> "さんかれあ #1 私が…ゾンビに…なったら"
p programs[0].start_time #=> 2012-04-06 02:50:00 +0900
p programs[0].channel_name #=> "TBS"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request