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
Params | Type | Required | Description |
---|---|---|---|
id | string | Yes | The 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', }, },};