class Tmdby::People

Public Class Methods

changes(id, optional_params = {}) click to toggle source

Get the changes for a specific person id.

# File lib/tmdby/wrappers/people.rb, line 52
def self.changes(id, optional_params = {})
  self.fetch "#{id}/changes",
              optional_params,
              authorized_params: ["start_date", "end_date"]
end
combined_credits(id, optional_params = {}) click to toggle source

Get the combined (movie and TV) credits for a specific person id.

# File lib/tmdby/wrappers/people.rb, line 28
def self.combined_credits(id, optional_params = {})
  self.fetch "#{id}/combined_credits",
              optional_params,
              authorized_params: ["language", "append_to_response"]
end
external_ids(id) click to toggle source

Get the external ids for a specific person id.

# File lib/tmdby/wrappers/people.rb, line 35
def self.external_ids(id)
  self.fetch "#{id}/external_ids"
end
get(id, optional_params = {}) click to toggle source

Get the general person information for a specific id.

# File lib/tmdby/wrappers/people.rb, line 7
def self.get(id, optional_params = {})
  self.fetch id,
              optional_params,
              authorized_params: ["append_to_response"]
end
images(id) click to toggle source

Get the images for a specific person id.

# File lib/tmdby/wrappers/people.rb, line 40
def self.images(id)
  self.fetch "#{id}/images"
end
latest() click to toggle source

Get the latest person id.

# File lib/tmdby/wrappers/people.rb, line 66
def self.latest
  self.fetch "latest"
end
movie_credits(id, optional_params = {}) click to toggle source

Get the movie credits for a specific person id.

# File lib/tmdby/wrappers/people.rb, line 14
def self.movie_credits(id, optional_params = {})
  self.fetch "#{id}/movie_credits",
              optional_params,
              authorized_params: ["language", "append_to_response"]
end
tagged_images(id, optional_params = {}) click to toggle source

Get the images that have been tagged with a specific person id.

# File lib/tmdby/wrappers/people.rb, line 45
def self.tagged_images(id, optional_params = {})
  self.fetch "#{id}/tagged_images",
              optional_params,
              authorized_params: ["language", "page"]
end
tv_credits(id, optional_params = {}) click to toggle source

Get the TV credits for a specific person id.

# File lib/tmdby/wrappers/people.rb, line 21
def self.tv_credits(id, optional_params = {})
  self.fetch "#{id}/tv_credits",
              optional_params,
              authorized_params: ["language", "append_to_response"]
end