TvApi

class TvApi

Functions

Link copied to clipboard
fun alternativeTitles(tvId: Int, language: LocaleCode? = null): Flow.Publisher<TvShowAlternativeTitles>

Returns all of the alternative titles for a TV show

Link copied to clipboard
fun changes(tvId: Int, startDate: LocalDate? = null, endDate: LocalDate? = null, page: Int? = null): Flow.Publisher<TvShowChanges>

Get the changes for a TV show. By default only the last 24 hours are returned.

Link copied to clipboard
fun contentRatings(tvId: Int, language: LocaleCode? = null): Flow.Publisher<TvShowContentRatings>

Get the list of content ratings (certifications) that have been added to a TV show

Link copied to clipboard
fun credits(tvId: Int, language: LocaleCode? = null): Flow.Publisher<TvShowCredits>

Get the credits (cast and crew) that have been added to a TV show

Link copied to clipboard
fun details(tvId: Int, language: LocaleCode? = null, vararg append: TvRequest): Flow.Publisher<TvShowDetails>

Get the primary TV show details by id.

Link copied to clipboard
fun episodeGroups(tvId: Int, language: LocaleCode? = null): Flow.Publisher<TvShowEpisodeGroups>

Get all of the episode groups that have been created for a TV show. With a group ID you can call the TvEpisodeGroupsApi.details method

Link copied to clipboard

Get the external ids for a TV show

Link copied to clipboard
fun getAiringToday(page: Int? = null, language: LocaleCode? = null): Flow.Publisher<PaginatedListResults<TvListResult>>

Get a list of TV shows that are airing today. This query is purely day based as we do not currently support airing times.

Link copied to clipboard
fun getOnTheAir(page: Int? = null, language: LocaleCode? = null): Flow.Publisher<PaginatedListResults<TvListResult>>

Get a list of shows that are currently on the air.

Link copied to clipboard
fun getPopular(page: Int? = null, language: LocaleCode? = null): Flow.Publisher<PaginatedListResults<TvListResult>>

Get a list of the current popular TV shows on TMDb. This list updates daily

Link copied to clipboard
fun getTopRated(page: Int? = null, language: LocaleCode? = null): Flow.Publisher<PaginatedListResults<TvListResult>>

Get a list of the top rated TV shows on TMDb

Link copied to clipboard
fun images(tvId: Int, language: LocaleCode? = null, vararg includeLanguage: LocaleCode?): Flow.Publisher<TvShowImages>

Get the images that belong to a TV show.

Link copied to clipboard

Get the keywords that have been added to a TV show

Link copied to clipboard
fun latest(language: LocaleCode? = null): Flow.Publisher<TvShowDetails>

Get the most newly created TV show. This is a live response and will continuously change

Link copied to clipboard
fun rate(tvId: Int, value: Double, session: Session): Flow.Publisher<Unit>

Rate a TV show.

Link copied to clipboard
fun recommendations(tvId: Int, page: Int? = null, language: LocaleCode? = null): Flow.Publisher<PaginatedListResults<TvListResult>>

Get the list of TV show recommendations for this item

Link copied to clipboard
fun removeRating(tvId: Int, session: Session): Flow.Publisher<Unit>

Remove your rating for a TV show.

Link copied to clipboard
fun reviews(tvId: Int, page: Int? = null, language: LocaleCode? = null): Flow.Publisher<PaginatedListResults<TvShowReview>>

Get the reviews for a TV show

Link copied to clipboard

Get a list of seasons or episodes that have been screened in a film festival or theatre

Link copied to clipboard
fun similar(tvId: Int, page: Int? = null, language: LocaleCode? = null): Flow.Publisher<PaginatedListResults<TvListResult>>

Get a list of similar TV shows. These items are assembled by looking at keywords and genres

Link copied to clipboard
fun translations(tvId: Int, language: LocaleCode? = null): Flow.Publisher<TvShowTranslations>

Get a list of the translations that exist for a TV show

Link copied to clipboard
fun videos(tvId: Int, language: LocaleCode? = null): Flow.Publisher<TvShowVideos>

Get the videos that have been added to a TV show