Skip to content

peopleWithTranslation

GET /v4/people/:id/translations/:language

This method returns a single people translation record. For official documentation of the endpoint, please refer to the Swagger documentation.

Parameters

ParamsTypeRequiredDescription
idstringYesThe people id
languagestringYesThe people language

Example

import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');
const data = await client.peopleWithTranslation('312388', 'spa');
Successful response output
{
status: 'success',
data: {
name: 'Chris Pratt',
overview: 'Christopher Michael Pratt, conocido simplemente como Chris Pratt, es un actor, actor de voz y productor estadounidense.',
language: 'spa'
},
};