External IDs
Query the external platform identifiers associated with a person.
async external_ids(params: PersonExternalIDsParams): Promise<PersonExternalIDs>TMDB Reference: Person External IDs
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
person_id | number | ✅ | TMDB 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);