class

Tmdb::Tv::Episode

Inherits Tmdb::StillUrls < Reference < Object

Constructors

detail(show_id : Int64, season_number : Int32, episode_number : Int32, language : String | Nil = nil) : Episode

Get the TV episode details by id.

Source
new(data : JSON::Any, show_id : Int64)
Source

Instance methods

air_date
Source
changes(start_date : Time | Nil = nil, end_date : Time | Nil = nil) : Array(Change)

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.

Source
credits(language : String | Nil = nil) : Array(Crew | Cast | GuestStar)

Get the credits (cast, crew and guest stars) for a TV episode.

Source
crew
Source
episode_number
Source
external_ids

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.

Source
guest_stars
Source
images

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.

Source
name
Source
order
Source
overview
Source
production_code
Source
season_number
Source
show_id
Source
still_path
Source
translations

Get the translation data for an episode.

Source
videos(language : String | Nil = nil) : Array(Video)

Get the videos that have been added to a TV episode.

Source
vote_average
Source
vote_count
Source