Skip to content

seasonById

GET /v4/seasons/:id

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

Parameters

ParamsTypeRequiredDescription
idstringYesThe season id

Example

import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');
const data = await client.seasonById('6365');
Successful response output
{
status: 'success',
data: {
id: 6365,
seriesId: 73752,
type: {
id: 1,
name: 'Aired Order',
type: 'official',
alternateName: null,
},
number: 1,
nameTranslations: [],
overviewTranslations: ['rus'],
image: 'https://artworks.thetvdb.com/banners/seasons/24394-1.jpg',
imageType: 7,
companies: {
studio: null,
network: null,
production: null,
distributor: null,
special_effects: null,
},
lastUpdated: '2023-05-04 17:19:35',
year: '1997',
},
};