🍿 @lorenzopant/tmdb

External IDs

Query the external platform identifiers associated with a person.

async external_ids(params: PersonExternalIDsParams): Promise<PersonExternalIDs>

TMDB Reference: Person External IDs

Parameters

NameTypeRequiredDescription
person_idnumberTMDB person identifier.

Returns

A PersonExternalIDs object containing linked platform identifiers.

Example

const ids = await tmdb.people.external_ids({ person_id: 31 });
console.log(ids.imdb_id);

On this page