🍿 @lorenzopant/tmdb

Rated TV

Get the paginated list of TV shows rated by an account.

Get the list of TV shows an account has rated, with optional sorting and pagination.

async rated_tv(params: AccountMediaListParams): Promise<AccountRatedTVResponse>

TMDB Reference: Rated TV

Parameters

NameTypeRequiredDescription
account_idnumber✅The TMDB account ID.
session_idstring❌Session ID for v3 session-based authentication.
languageLanguage❌Language for localized results. Defaults to en-US.
sort_byAccountSortBy❌Sort order: "created_at.asc" or "created_at.desc".
pagenumber❌Page number to return.

Returns

A PaginatedResponse<AccountRatedTVItem> containing an array of AccountRatedTVItem objects. Each item includes a rating field with the user's score (0.5–10).

Example

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

const tmdb = new TMDB("your-access-token");
const rated = await tmdb.account.rated_tv({ account_id: 123 });

console.log(rated.results[0].name);
console.log(rated.results[0].rating); // 9

On this page