class

Tmdb::Person

Inherits Tmdb::ProfileUrls < Reference < Object

Constructors

detail(id : Int64, language : String | Nil = nil) : Person

Get the primary person details by id.

Source
latest(language : String | Nil = nil) : Person

Get the most newly created person. This is a live response and will continuously change.

Source
new(adult : Bool | Nil, gender : Int32, id : Int64, known_for_department : Nil | String, name : String, popularity : Float64 | Nil, profile_path : Nil | String)
Source
new(name : String, id : Int64)
Source
new(data : JSON::Any)
Source

Class methods

Instance methods

adult
Source
also_known_as
Source
biography
Source
birthday
Source
changes(start_date : Time | Nil = nil, end_date : Time | Nil = nil) : Array(Change)

Get the changes for a movie. By default only the last 24 hours are returned.

You can query up to 14 days in a single query by using the start_date and end_date query parameters.

Source
combined_credits(language : String | Nil = nil) : Array(Person::Cast | Person::Crew)

Get the movie and TV credits together in a single response.

Source
deathday
Source
external_ids(language : String | Nil = nil) : Array(ExternalId)

Get the external ids for a person. We currently support the following external sources.

IMDb ID Facebook Freebase MID Freebase ID Instagram TVRage ID Twitter

Source
gender
Source
homepage
Source
images

Get the images for a person.

Source
imdb_id
Source
known_for_department
Source
movie_credits(language : String | Nil = nil) : Array(Person::Cast | Person::Crew)

Get the movie credits for a person.

Source
name
Source
place_of_birth
Source
popularity
Source
profile_path
Source
profiles

See images

Source
tagged_images(language : String | Nil = nil) : LazyIterator(TaggedImage)

Get the images that this person has been tagged in.

Source
translations(language : String | Nil = nil) : Array(Translation)

Get a list of translations that have been created for a person.

Source
tv_credits(language : String | Nil = nil) : Array(Person::Cast | Person::Crew)

Get the TV show credits for a person. You can query for some extra details about the credit with the credit method.

Source

Nested types