Skip to content

companiesTypes

GET /v4/companies/types

This method returns a list of companies type 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.companiesTypes();
Successful response output
{
status: 'success',
data: [
{
companyTypeId: 1,
companyTypeName: 'Network',
},
{
companyTypeId: 2,
companyTypeName: 'Studio',
},
// ...
],
};