Skip to content

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

ParamsTypeRequiredDescription
idstringYesThe episode id
languagestringYesThe 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',
},
};