Details
Query the details of a specific company.
async details(params: CompanyDetailsParams): Promise<Company>TMDB Reference: Company Details
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
company_id | number | ✅ | TMDB company identifier. |
Returns
A Company object containing
the details of the specified company.
Example
import { TMDB } from "@lorenzopant/tmdb";
const tmdb = new TMDB("your-api-key");
const company = await tmdb.companies.details({ company_id: 174 }); // Warner Bros. Pictures