serieById
GET
/v4/series/:id
This method returns a single serie record. For official documentation of the endpoint, please refer to the Swagger documentation.
Parameters
Params | Type | Required | Description |
---|---|---|---|
id | string | Yes | The serie id |
Example
import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');const data = await client.serieById('78878');
Successful response output
{ status: 'success', data: { id: 78878, name: 'フリクリ', slug: 'flcl', image: 'https://artworks.thetvdb.com/banners/posters/78878-1.jpg', // ... },};