class Tmdby::Keywords

Public Class Methods

get(id) click to toggle source

Get the basic information for a specific keyword id.

# File lib/tmdby/wrappers/keywords.rb, line 7
def self.get(id)
  self.fetch id
end
movies(id, optional_params = {}) click to toggle source

Get the list of movies for a particular keyword by id.

# File lib/tmdby/wrappers/keywords.rb, line 12
def self.movies(id, optional_params = {})
  self.fetch "#{id}/movies",
              optional_params,
              authorized_params: ["page", "language"]
end