Skip to content

serieByIdNextAired

GET /v4/series/:id/nextAired

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

Parameters

ParamsTypeRequiredDescription
idstringYesThe serie id

Example

import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');
const data = await client.serieByIdNextAired('78878');
Successful response output
{
status: 'success',
data: {
id: 78878,
firstAired: '2000-04-26',
lastAired: '2023-10-15',
nextAired: '',
// ...
},
};