Skip to content

sourcesTypes

GET /v4/sources/types

This method returns a list of source 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.sourcesTypes();
Successful response output
{
status: 'success',
data: [
{
id: 2,
name: 'IMDB',
slug: 'imdb',
prefix: 'https://www.imdb.com/title/',
postfix: '/',
sort: 4,
},
// ...
],
};