listWithTranslation
GET
/v4/lists/:id/translations/:language
This method returns a single list translation record. For official documentation of the endpoint, please refer to the Swagger documentation.
Parameters
Params | Type | Required | Description |
---|---|---|---|
id | string | Yes | The list id |
language | string | Yes | The list language |
Example
import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');const data = await client.listWithTranslation('17', 'spa');
Successful response output
{ status: 'success', data: [ { name: 'Star Wars - Colección', overview: 'Star Wars, es una franquicia compuesta por series, películas y comics concebidas por el cineasta George Lucas. La trama describe las vivencias de un grupo de personajes que habitan en una galaxia ficticia e interactúan con elementos como «la Fuerza».', language: 'spa', }, ],};