module TmdbRexx::Client::Keyword

Constants

RESOURCE

Public Instance Methods

keyword(keyword_id, options = {}) click to toggle source

Get the basic information for a specific keyword id.

@see # docs.themoviedb.apiary.io/#reference/movies/keywordid

@param [String] keyword_id the id of the keyword to get information about

@return [Hashie::Mash] response

@example Get the keyword api response

client.keyword("keyword-id")
# File lib/tmdb_rexx/client/keyword.rb, line 16
def keyword(keyword_id, options = {})
  get([RESOURCE, keyword_id].join("/"), options)
end
keyword_movies(keyword_id, options = {}) click to toggle source

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

@see # docs.themoviedb.apiary.io/#reference/movies/keywordidmovies

@param [String] keyword_id the id of the keyword to get information about

@return [Hashie::Mash] response

@example Get the movies for the keyword api response

client.keyword_movies("keyword-id")
# File lib/tmdb_rexx/client/keyword.rb, line 30
def keyword_movies(keyword_id, options = {})
  get([RESOURCE, keyword_id, "movies"].join("/"), options)
end