Class: TvrageApi::Show
Instance Method Summary collapse
-
#all ⇒ Object
Full Show List.
-
#all_url ⇒ Object
Full Show List - return only url.
-
#episode(options = {}) ⇒ Object
Episode Info.
-
#episode_url(options = {}) ⇒ Object
Episode Info - return only url.
-
#episodes(options = {}) ⇒ Object
Episode List.
-
#episodes_url(options = {}) ⇒ Object
Episode List.
-
#find(options = {}) ⇒ Object
Show Info.
-
#find_full(options = {}) ⇒ Object
Show Info + Episode List.
-
#find_full_url(options = {}) ⇒ Object
Show Info + Episode List - return only url.
-
#find_url(options = {}) ⇒ Object
Show Info - return only url.
Instance Method Details
#all ⇒ Object
Full Show List
access: FREE output: Faraday::Response instance with string
90 91 92 |
# File 'lib/tvrage_api/show.rb', line 90 def all path(all_path).get end |
#all_url ⇒ Object
Full Show List - return only url
access: FREE output: url string
99 100 101 |
# File 'lib/tvrage_api/show.rb', line 99 def all_url path(all_path).url end |
#episode(options = {}) ⇒ Object
Episode Info
access: FREE param: options hash
sid: TV show ID
ep: episode name, format [Season Number]x[Episode Number, with zero at the beginning for 1-9]
output: Faraday::Response instance with string
70 71 72 |
# File 'lib/tvrage_api/show.rb', line 70 def episode( = {}) episode_path_with_params().get end |
#episode_url(options = {}) ⇒ Object
Episode Info - return only url
access: FREE param: options hash
sid: TV show ID
ep: episode name, format [Season Number]x[Episode Number, with zero at the beginning for 1-9]
output: url string
82 83 84 |
# File 'lib/tvrage_api/show.rb', line 82 def episode_url( = {}) episode_path_with_params().url end |
#episodes(options = {}) ⇒ Object
Episode List
access: FREE param: options hash
sid: TV show ID
output: Faraday::Response instance with string
48 49 50 |
# File 'lib/tvrage_api/show.rb', line 48 def episodes( = {}) episodes_path_with_params().get end |
#episodes_url(options = {}) ⇒ Object
Episode List
access: FREE param: options hash
sid: TV show ID
output: url string
59 60 61 |
# File 'lib/tvrage_api/show.rb', line 59 def episodes_url( = {}) episodes_path_with_params().url end |
#find(options = {}) ⇒ Object
Show Info
access: FREE param: options hash
sid: TV show ID
output: Faraday::Response instance with string
8 9 10 |
# File 'lib/tvrage_api/show.rb', line 8 def find( = {}) find_path_with_params().get end |
#find_full(options = {}) ⇒ Object
Show Info + Episode List
access: FREE param: options hash
sid: TV show ID
output: Faraday::Response instance with string
28 29 30 |
# File 'lib/tvrage_api/show.rb', line 28 def find_full( = {}) find_full_path_with_params().get end |
#find_full_url(options = {}) ⇒ Object
Show Info + Episode List - return only url
access: FREE param: options hash
sid: TV show ID
output: url string
38 39 40 |
# File 'lib/tvrage_api/show.rb', line 38 def find_full_url( = {}) find_full_path_with_params().url end |
#find_url(options = {}) ⇒ Object
Show Info - return only url
access: FREE param: options hash
sid: TV show ID
output: url string
18 19 20 |
# File 'lib/tvrage_api/show.rb', line 18 def find_url( = {}) find_path_with_params().url end |