🍿 @lorenzopant/tmdb

Details

Get the full structure of a TV or movie credit by ID.

Get a movie or TV credit details by ID.

async details(params: CreditDetailsParams): Promise<CreditDetails>

TMDB Reference: Credit Details

Parameters

NameTypeRequiredDescription
credit_idstringTMDB credit identifier.
languageLanguageLanguage for localized results. Defaults to en-US.

Returns

CreditDetails

Example

const details = await tmdb.credits.details({
	credit_id: "6024a814c0ae36003d59cc3c",
});

console.log(details.name);
console.log(details.credit_type);

Types

On this page