🍿 @lorenzopant/tmdb

TV List

Query the TV shows that have been changed in the last 24 hours.

Query the TV shows that have been changed in the last 24 hours, or since a specified date.

async tv_list(): Promise<PaginatedResponse<ChangeResultItem>>

TMDB Reference: TV List

Parameters

NameTypeRequiredDescription
pagenumber❌Page number for paginated results. Defaults to 1 if not specified.
start_datestring❌The start date for the range of changes to query.
end_datestring❌The end date for the range of changes to query.

Returns

A PaginatedResponse of ChangeResultItem objects containing the associated TV show changes ids.

Example

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

const tmdb = new TMDB("your-api-key");
const tvChanges = await tmdb.changes.tv_list();

console.log(tvChanges);
// {
//   page: 1,
//   results: [
//     { id: 123, adult: false },
//     { id: 456, adult: false },
//     ...
//   ],
//   total_pages: 10,
//   total_results: 200
// }

Types

On this page