Skip to content

awardCategoryById

GET /v4/awards/categories/:id

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

Parameters

ParamsTypeRequiredDescription
idstringYesThe award category id

Example

import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');
const data = await client.awardCategoryById('42');
Successful response output
{
status: 'success',
data: {
id: 42,
name: 'Best Actor in a Television Series – Drama',
allowCoNominees: false,
forSeries: true,
forMovies: false,
award: {
id: 2,
name: 'Golden Globe Awards',
},
},
};