awardById
GET
/v4/awards/:id
This method returns a single award record. For official documentation of the endpoint, please refer to the Swagger documentation.
Parameters
Params | Type | Required | Description |
---|---|---|---|
id | string | Yes | The award id |
Example
import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');const data = await client.awardById('1');
Successful response output
{ status: 'success', data: { id: 1, name: 'Academy Awards', },};