🍿 @lorenzopant/tmdb

Details

Query the details of a specific keyword.

async details(params: KeywordDetailsParams): Promise<Keyword>

TMDB Reference: Keyword Details

Parameters

NameTypeRequiredDescription
keyword_idnumberTMDB keyword identifier.

Returns

A Keyword object containing the details of the specified keyword.

Example

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

const tmdb = new TMDB("your-api-key");
const keyword = await tmdb.keywords.details({ keyword_id: 4379 });

console.log(keyword.name); // "time travel"

Types

On this page