Skip to content

entities

GET /v4/entities

This method returns a list of entity types records. For official documentation of the endpoint, please refer to the Swagger documentation.

Parameters

This method does not require any parameters.

Example

import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');
const data = await client.entities();
Successful response output
{
status: 'success',
data: [
{
id: 1,
name: 'series',
hasSpecials: false,
},
{
id: 2,
name: 'season',
hasSpecials: false,
},
// ...
],
};