🍿 @lorenzopant/tmdb

Combined Credits

Query both movie and TV cast and crew credits for a person.

async combined_credits(params: PersonCreditsParams): Promise<PersonCombinedCredits>

TMDB Reference: Person Combined Credits

Parameters

NameTypeRequiredDescription
person_idnumberTMDB person identifier.
languageLanguageLanguage for localized results. Defaults to en-US.

Returns

A PersonCombinedCredits object containing both movie and TV credits.

Example

const credits = await tmdb.people.combined_credits({ person_id: 31 });
console.log(credits.cast.length, credits.crew.length);

On this page