Skip to content

inspirationTypes

GET /v4/inspiration/types

This method returns a list of inspiration 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.inspirationTypes();
Successful response output
{
status: 'success',
data: [
{
id: 1,
name: 'Historical Event',
description:
'Do not enter fictional events. Only actual historical events are allowed. Take a broad approach when selecting an event. For example, Flags of Our Fathers should reference <a href="https://en.wikipedia.org/wiki/World_War_II">World War II</a> instead of <a href="https://en.wikipedia.org/wiki/Raising_the_Flag_on_Iwo_Jima">Raising the Flag On Iwo Jima</a>.',
reference_name: 'Wikipedia',
url: 'https://en.wikipedia.org/wiki/',
},
// ...
],
};