episodeWithTranslation
GET
/v4/episodes/:id/translations/:language
This method returns a single episode translation record. For official documentation of the endpoint, please refer to the Swagger documentation.
Parameters
Params | Type | Required | Description |
---|---|---|---|
id | string | Yes | The episode id |
language | string | Yes | The episode language |
Example
import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');const data = await client.episodeWithTranslation('40', 'spa');
Successful response output
{ status: 'success', data: { name: 'El Baile', overview: 'Buffy y Cordelia compiten por ser reina del baile, intentando ambas captar la ayuda de los demás. Paralelamente, un vampiro ha convocado a varios asesinos demoníacos, cuyo objetivo es matar a las Cazadoras.', language: 'spa', },};