Class: ThetvdbApi::Series
Instance Method Summary collapse
-
#find(*options) ⇒ Object
Find the series data by series id.
-
#find_full(*options) ⇒ Object
Find the full series data by series id.
-
#find_full_url(*options) ⇒ Object
Find the full series data by series id - return only url.
-
#find_url(*options) ⇒ Object
Find the series data by series id - return only url.
Methods inherited from Base
#api_key_options, #api_key_with_language_options, #language_options, #normalize_episode_id_options, #normalize_series_id_absolute_options, #normalize_series_id_air_date_options, #normalize_series_id_episode_options, #normalize_series_id_options, #normalize_series_name_options
Instance Method Details
#find(*options) ⇒ Object
Find the series data by series id.
access: FREE param (flat params):
find(series_id)
find(1234)
param (hash params):
find(series_id: 1234)
output: Faraday::Response instance with parsed XML string example: thetvdb.com/wiki/index.php/API:Base_Series_Record
12 13 14 |
# File 'lib/thetvdb_api/series.rb', line 12 def find(*) find_path_with_params(*).get end |
#find_full(*options) ⇒ Object
Find the full series data by series id.
access: FREE param (flat params):
find_full(series_id)
find_full(1234)
param (hash params):
find_full(series_id: 1234)
output: Faraday::Response instance with parsed XML string example: thetvdb.com/wiki/index.php/API:Full_Series_Record
39 40 41 |
# File 'lib/thetvdb_api/series.rb', line 39 def find_full(*) find_full_path_with_params(*).get end |
#find_full_url(*options) ⇒ Object
Find the full series data by series id - return only url.
access: FREE param (flat params):
find_full_url(series_id)
find_full_url(1234)
param (hash params):
find_full_url(series_id: 1234)
output: url string
52 53 54 |
# File 'lib/thetvdb_api/series.rb', line 52 def find_full_url(*) find_full_path_with_params(*).url end |
#find_url(*options) ⇒ Object
Find the series data by series id - return only url.
access: FREE param (flat params):
find_url(series_id)
find_url(1234)
param (hash params):
find_url(series_id: 1234)
output: url string
25 26 27 |
# File 'lib/thetvdb_api/series.rb', line 25 def find_url(*) find_path_with_params(*).url end |