🍿 @lorenzopant/tmdb

Movie Credits

Query the movie cast and crew credits for a person.

async movie_credits(params: PersonCreditsParams): Promise<PersonMovieCredits>

TMDB Reference: Person Movie Credits

Parameters

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

Returns

A PersonMovieCredits object containing cast and crew credits.

Example

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

On this page