class Tmdb::Collection
- Tmdb::Collection
- Reference
- Object
Included Modules
Defined in:
collection.crConstructors
-
.detail(id : Int64, language : String | Nil = nil) : Collection
Get collection details by id.
- .new(id : Int64, name : String, poster_path : Nil | String, backdrop_path : Nil | String)
- .new(data : JSON::Any)
Instance Method Summary
-
#backdrop_path : String | Nil
Path to default backdrop image
-
#backdrops(language : String | Nil = nil) : Array(Backdrop)
Get the backdrop images for a collection by id.
-
#id : Int64
Unique ID of the collection
-
#images(language : String | Nil = nil) : Array(Backdrop | Poster)
Get the images for a collection by id.
-
#name : String
Name of the collection
-
#overview : String
Briefly description of the collection
-
#parts : Array(MovieResult)
Array of movies which forms part of the collection
-
#poster_path : String | Nil
Path to default poster image
-
#posters(language : String | Nil = nil) : Array(Poster)
Get the poster images for a collection by id.
-
#translations(language : String | Nil = nil) : Array(Translation)
Get the list translations for a collection by id.
Instance methods inherited from module Tmdb::ImageUrls
backdrop_url(size : String = "original") : String
backdrop_url
Instance methods inherited from module Tmdb::PosterUrls
poster_url(size : String = "original") : String
poster_url
Constructor Detail
Get collection details by id.
def self.new(id : Int64, name : String, poster_path : Nil | String, backdrop_path : Nil | String)
#
Instance Method Detail
Get the backdrop images for a collection by id.
Get the images for a collection by id.
Get the poster images for a collection by id.
Get the list translations for a collection by id.