🍿 @lorenzopant/tmdb

Companies

Search for production companies by their original and alternative names.

Search for production companies by their original and alternative names.

async company(params: SearchCompanyParams): Promise<PaginatedResponse<CompanyResultItem>>

TMDB Reference: Search Company

Parameters

NameTypeRequiredDescription
querystringSearch query text.
pagenumberPage number for paginated results. Defaults to 1.

Returns

A PaginatedResponse<CompanyResultItem> containing an array of CompanyResultItem objects.

Example

import { TMDB } from "@lorenzopant/tmdb";

const tmdb = new TMDB("your-api-key");
const { results } = await tmdb.search.company({ query: "Warner Bros" });

console.log(results);
// [
//   { id: 174, name: "Warner Bros. Pictures", origin_country: "US", ... },
//   ...
// ]

Types

On this page