An API Client library for http://cal.syoboi.jp/ written in Ruby.
MIT License
An API Client library for http://cal.syoboi.jp/ written in Ruby.
Add this line to your application's Gemfile:
gem "syoboi_calendar"
And then execute:
bundle
Or install it yourself as:
gem install syoboi_calendar
Creates an instance of SyoboiCalendar::Client
.
require "syoboi_calendar"
client = SyoboiCalendar::Client.new
Available options:
:channel_group_id
:updated_from
:updated_to
client.list_channel_groups
http://cal.syoboi.jp/db.php?Command=ChGroupLookup
Available options:
:channel_id
:updated_from
:updated_to
client.list_channels
http://cal.syoboi.jp/db.php?Command=ChLookup
Available options:
:count
:fields
:played_from
:played_to
:program_id
:started_from
:started_to
:title_id
:updated_from
:updated_to
client.list_programs
http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles
Available options:
:fields
:title_id
:updated_from
:updated_to
client.list_titles
http://cal.syoboi.jp/db.php?Command=TitleLookup&TID=*
Available methods:
#body
#code
#each
#has_error?
#headers
#message
#resources
#status
Available methods:
#comment
#id
#name
#order
Available methods:
#channel_group_id
#comment
#epg_url
#id
#iepg_name
#name
#number
#url
Available methods:
#channel_id
#comment
#count
#deleted?
#finished_at
#flag
#id
#iepg_name
#rerun?
#revision
#started_at
#sub_title
#title_id
#warn
Available methods:
#casts
#category_id
#comment
#english_name
#first_channel
#first_end_month
#first_end_year
#first_month
#first_year
#flag
#id
#kana
#keywords
#name
#short_title
#songs_ending
#songs_inserted
#songs_opening
#songs_theme
#staffs
#sub_titles
#user_point_rank
#user_point