class

Tmdb::Collection

Inherits Tmdb::ImageUrls < Tmdb::PosterUrls < Reference < Object

Constructors

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

Get collection details by id.

Source
new(id : Int64, name : String, poster_path : Nil | String, backdrop_path : Nil | String)
Source
new(data : JSON::Any)
Source

Instance methods

backdrop_path

Path to default backdrop image

Source
backdrops(language : String | Nil = nil) : Array(Backdrop)

Get the backdrop images for a collection by id.

Source
id

Unique ID of the collection

Source
images(language : String | Nil = nil) : Array(Backdrop | Poster)

Get the images for a collection by id.

Source
name

Name of the collection

Source
overview

Briefly description of the collection

Source
parts

Array of movies which forms part of the collection

Source
poster_path

Path to default poster image

Source
posters(language : String | Nil = nil) : Array(Poster)

Get the poster images for a collection by id.

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

Get the list translations for a collection by id.

Source