🍿 @lorenzopant/tmdb

TV Seasons

Type definitions for TV season details, appended data, and query parameters.

These types represent the TV season domain — details, appended sub-resources, and query parameters.

TVSeason

The complete representation of a TV season as returned by tv_seasons.details().

Prop

Type


TVSeasonEpisode

Represents a single episode nested within a TVSeason.

Prop

Type


TVSeasonDetailsWithAppends<T>

Extends TVSeason with one or more appended sub-resources. T is a readonly array of TVSeasonAppendToResponseNamespace keys.

const season: TVSeasonDetailsWithAppends<["credits", "images"]> = await tmdb.tv_seasons.details({
	series_id: 1396,
	season_number: 1,
	append_to_response: ["credits", "images"],
});

TVSeasonAppendToResponseNamespace

Union of all valid keys that can be passed to append_to_response.

type TVSeasonAppendToResponseNamespace =
	| "aggregate_credits"
	| "credits"
	| "external_ids"
	| "images"
	| "translations"
	| "videos"
	| "watch_providers";

Additional Resources

Other types returned by TV season endpoints.

TVSeasonAggregateCredits

Alias for TVAggregateCredits — aggregate cast and crew across all episodes of the season.


TVSeasonCredits

Prop

Type


TVSeasonExternalIDs

Prop

Type


TVSeasonImages

Prop

Type


TVSeasonTranslations

A TranslationResults<TVSeasonTranslationData> array of season translations.

TVSeasonTranslationData

Prop

Type


TVSeasonVideos

Alias for VideoResults.


Parameters

TVSeasonBaseParams

Prop

Type


TVSeasonDetailsParams

Prop

Type


TVSeasonCreditsParams

Prop

Type


TVSeasonImagesParams

Prop

Type


TVSeasonVideosParams

Prop

Type


TVSeasonChangesParams

Prop

Type


TVSeasonId

Prop

Type

On this page