🍿 @lorenzopant/tmdb

Details

Get the full details of a TMDB review by its review ID.

Retrieve the complete details of a single review, including author information, review content, and the media it belongs to.

async details(params: ReviewDetailsParams): Promise<ReviewDetails>

TMDB Reference: Review Details

Parameters

NameTypeRequiredDescription
review_idstringThe TMDB review identifier.

Returns

ReviewDetails

Example

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

const tmdb = new TMDB("your-api-key");
const review = await tmdb.reviews.details({ review_id: "5acbc4e7c3a36814d01009f6" });

console.log(review.author); // "eXo"
console.log(review.media_title); // "Dilwale Dulhania Le Jayenge"
console.log(review.media_type); // "movie"

On this page