class Tmdb::Tv::Episode
- Tmdb::Tv::Episode
- Reference
- Object
Included Modules
Defined in:
tv/episode.crConstructors
-
.detail(show_id : Int64, season_number : Int32, episode_number : Int32, language : String | Nil = nil) : Episode
Get the TV episode details by id.
- .new(data : JSON::Any, show_id : Int64)
Instance Method Summary
- #air_date : Time | Nil
-
#changes(start_date : Time | Nil = nil, end_date : Time | Nil = nil) : Array(Change)
Get the changes for a TV episode.
-
#credits(language : String | Nil = nil) : Array(Crew | Cast | GuestStar)
Get the credits (cast, crew and guest stars) for a TV episode.
- #crew : Array(Crew)
- #episode_number : Int32
-
#external_ids : Array(ExternalId)
Get the external ids for a TV episode.
- #guest_stars : Array(GuestStar)
- #id : Int64
-
#images : Array(Image)
Get the images that belong to a TV episode.
- #name : String
- #order : Int32 | Nil
- #overview : String
- #production_code : String | Nil
- #season_number : Int32
- #show_id : Int64
- #still_path : String | Nil
-
#translations : Array(Tv::Translation)
Get the translation data for an episode.
-
#videos(language : String | Nil = nil) : Array(Video)
Get the videos that have been added to a TV episode.
- #vote_average : Float64
- #vote_count : Int32
Instance methods inherited from module Tmdb::StillUrls
still_url(size : String = "original") : String
still_url
Constructor Detail
Get the TV episode details by id.
Instance Method Detail
Get the changes for a TV episode. 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.
Get the credits (cast, crew and guest stars) for a TV episode.
Get the external ids for a TV episode. We currently support the following external sources.
- IMDb ID
- TVDB ID
- Freebase MID*
- Freebase ID*
- TVRage ID*
*Defunct or no longer available as a service.
Get the images that belong to a TV episode.
Querying images with a language
parameter will filter the results. If you
want to include a fallback language (especially useful for backdrops) you
can use the include_image_language
parameter. This should be a comma
seperated value like so: include_image_language=en,null
.
Get the videos that have been added to a TV episode.