class Tmdb::Tv::Show
- Tmdb::Tv::Show
- Reference
- Object
Included Modules
Defined in:
tv/show.crConstructors
-
.detail(id : Int64, language : String | Nil = nil) : Show
Get the primary TV show details by id.
- .latest(language : String | Nil = nil, skip_cache : Bool = false) : Show
- .new(data : JSON::Any)
Class Method Summary
-
.airing_today(language : String | Nil = nil, skip_cache : Bool = false) : LazyIterator(ShowResult)
Get a list of TV shows that are airing today.
-
.on_the_air(language : String | Nil = nil, skip_cache : Bool = false) : LazyIterator(ShowResult)
Get a list of shows that are currently on the air.
-
.popular(language : String | Nil = nil, region : String | Nil = nil, skip_cache : Bool = false) : LazyIterator(ShowResult)
Get a list of the current popular TV shows on TMDB.
-
.top_rated(language : String | Nil = nil, region : String | Nil = nil, skip_cache : Bool = false) : LazyIterator(ShowResult)
Get the top rated TV shows on TMDB.
Instance Method Summary
-
#aggregated_credits(language : String | Nil = nil) : Array(Tv::AggregatedCast | Tv::AggregatedCrew)
Get the aggregate credits (cast and crew) that have been added to a TV show.
-
#alternative_titles(language : String | Nil = nil) : Array(AlternativeTitle)
Returns all of the alternative titles for a TV show.
- #backdrop_path : String | Nil
-
#backdrops(language : String | Nil = nil) : Array(Backdrop)
See
#images
-
#changes(start_date : Time | Nil = nil, end_date : Time | Nil = nil) : Array(Change)
Get the changes for a TV show.
-
#content_ratings(language : String | Nil = nil) : Array(Tv::Rating)
Get the list of content ratings (certifications) that have been added to a TV show.
- #created_by : Array(Credit)
-
#credits(language : String | Nil = nil) : Array(Cast | Crew)
Get the credits (cast and crew) that have been added to a TV show.
-
#episode_groups(language : String | Nil = nil) : Array(Tv::EpisodeGroupResult)
Get all of the episode groups that have been created for a TV show.
- #episode_run_time : Array(Int32)
-
#external_ids(language : String | Nil = nil) : Array(ExternalId)
Get the external ids for a TV show.
- #first_air_date : Time | Nil
- #genres : Array(Genre)
- #homepage : String
- #id : Int64
-
#images(language : String | Nil = nil) : Array(Backdrop | Poster)
Get the images that belong to a TV show.
- #in_production? : Bool
-
#keywords : Array(Keyword)
Get the keywords that have been added to a TV show.
- #languages : Array(String)
- #last_air_date : Time | Nil
- #last_episode_to_air : Tv::Episode | Nil
- #name : String
- #networks : Array(Network)
- #next_episode_to_air : Int32 | Nil
- #number_of_episodes : Int32 | Nil
- #number_of_seasons : Int32
- #origin_country : Array(String)
- #original_language : String
- #original_name : String
- #overview : String
- #popularity : Float64
- #poster_path : String | Nil
-
#posters(language : String | Nil = nil) : Array(Poster)
See
#images
- #production_companies : Array(CompanyResult)
- #production_countries : Array(Country)
-
#recommendations(language : String | Nil = nil) : LazyIterator(ShowResult)
Get the list of TV show recommendations for this item.
-
#reviews(language : String | Nil = nil) : LazyIterator(Review)
Get the reviews for a TV show.
-
#screened_theatrically : Array(NamedTuple(episode_number: Int32, season_number: Int32))
Get a list of seasons or episodes that have been screened in a film festival or theatre.
- #seasons : Array(Tv::Season)
-
#similar_tv_shows(language : String | Nil = nil) : LazyIterator(ShowResult)
Get a list of similar TV shows.
- #spoken_languages : Array(Language)
- #status : Status
- #tagline : String
-
#translations : Array(Tv::Translation)
Get a list of the translations that exist for a TV show.
- #type : Type
-
#videos(language : String | Nil = nil) : Array(Video)
Get the videos that have been added to a TV show.
- #vote_average : Float64
- #vote_count : Int32
-
#watch_providers : Hash(String, Watch)
Powered by our partnership with JustWatch, you can query this method to get a list of the availabilities per country by provider.
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 the primary TV show details by id.
Class Method Detail
Get a list of TV shows that are airing today. This query is purely day based as we do not currently support airing times.
Get a list of shows that are currently on the air.
This query looks for any TV show that has an episode with an air date in the next 7 days.
Get a list of the current popular TV shows on TMDB. This list updates daily.
Get the top rated TV shows on TMDB.
Instance Method Detail
Get the aggregate credits (cast and crew) that have been added to a TV show.
This call differs from the main #credits
call in that it does not return
the newest season but rather, is a view of all the entire cast & crew for
all episodes belonging to a TV show.
Returns all of the alternative titles for a TV show.
Get the changes for a TV show. 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.
TV show changes are different than movie changes in that there are some
edits on seasons and episodes that will create a change entry at the show
level. These can be found under the season and episode keys. These keys
will contain a series_id
and episode_id
. You can use the
season changes
and episode changes
methods to look these up individually.
Get the list of content ratings (certifications) that have been added to a TV show.
Get the credits (cast and crew) that have been added to a TV show.
Get all of the episode groups that have been created for a TV show. With a
group ID you can call the Tmdb::Tv::EpisodeGroup.detail
method.
Get the external ids for a TV show. 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 show.
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 list of TV show recommendations for this item.
Get the reviews for a TV show.
Get a list of seasons or episodes that have been screened in a film festival or theatre.
Get a list of similar TV shows. These items are assembled by looking at keywords and genres.
Get a list of the translations that exist for a TV show.
Get the videos that have been added to a TV show.
Powered by our partnership with JustWatch, you can query this method to get a list of the availabilities per country by provider.
This is not going to return full deep links, but rather, it's just enough information to display what's available where.
You can link to the provided TMDB URL to help support TMDB and provide the actual deep links to the content.
Please note: In order to use this data you must attribute the source of the data as JustWatch. If we find any usage not complying with these terms we will revoke access to the API.