🍿 @lorenzopant/tmdb

Translations

Get all available translations for a TV season.

Get the translations that have been added to a TV season.

async translations(params: TVSeasonBaseParams): Promise<TVSeasonTranslations>

TMDB Reference: TV Season Translations

Parameters

NameTypeRequiredDescription
series_idnumberTMDB TV series identifier.
season_numbernumberSeason number within the TV series.

Returns

TVSeasonTranslations

Example

const { translations } = await tmdb.tv_seasons.translations({
	series_id: 1396,
	season_number: 1,
});

const german = translations.find((t) => t.iso_639_1 === "de");
console.log(german?.data.name);

Types

On this page