Keywords
Get the keywords that have been added to a movie.
tmdb.movies.keywords(params: MovieKeywordsParams): Promise<MovieKeywords>;
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| movie_id | number | ✅ | The ID of the movie. |
Example
const result = await tmdb.movie.keywords({ movie_id: 550 });
Types
Response Type
export type MovieKeywords = {
id: number;
keywords: Keyword[];
};
Related Types
export type Keyword = {
id: number;
name: string;
};
export type MovieKeywordsParams = {
movie_id: number;
};
Example Response
{
"id": 550,
"keywords": [
{
"id": 851,
"name": "dual identity"
},
{
"id": 3927,
"name": "rage and hate"
},
{
"id": 818,
"name": "based on novel or book"
},
...
]
}