Class: ThetvdbApi::Series

Inherits:
Base
  • Object
show all
Defined in:
lib/thetvdb_api/series.rb

Instance Method Summary collapse

Methods inherited from Base

#api_key_options, #api_key_with_language_options, #language_options

Instance Method Details

#find(options = {}) ⇒ Object

Find the series data by series id.

access: FREE param: options hash

series_id: TV series ID

output: XML string (example: thetvdb.com/wiki/index.php/API:Base_Series_Record)



8
9
10
# File 'lib/thetvdb_api/series.rb', line 8

def find(options = {})
  find_path_with_params(options).get
end

#find_full(options = {}) ⇒ Object

Find the full series data by series id.

access: FREE param: options hash

series_id: TV series ID

output: XML string (example: thetvdb.com/wiki/index.php/API:Full_Series_Record)



28
29
30
# File 'lib/thetvdb_api/series.rb', line 28

def find_full(options = {})
  find_full_path_with_params(options).get
end

#find_full_url(options = {}) ⇒ Object

Find the full series data by series id - return only url.

access: FREE param: options hash

series_id: TV series ID

output: url string



38
39
40
# File 'lib/thetvdb_api/series.rb', line 38

def find_full_url(options = {})
  find_full_path_with_params(options).url
end

#find_url(options = {}) ⇒ Object

Find the series data by series id - return only url.

access: FREE param: options hash

series_id: TV series ID

output: url string



18
19
20
# File 'lib/thetvdb_api/series.rb', line 18

def find_url(options = {})
  find_path_with_params(options).url
end