Skip to content

awardCategoryByIdExtended

GET /v4/awards/categories/:id/extended

This method returns a single extended 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.awardCategoryByIdExtended('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',
},
nominees: [
// ...
],
},
};