🍿 @lorenzopant/tmdb

Movie List

Query the movies that have been changed in the last 24 hours.

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

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

TMDB Reference: Movie List

Parameters

NameTypeRequiredDescription
pagenumberPage number for paginated results. Defaults to 1 if not specified.
start_datestringThe start date for the range of changes to query.
end_datestringThe end date for the range of changes to query.

Returns

A PaginatedResponse of ChangeResultItem objects containing the associated movie changes ids.

Example

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

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

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

Types

On this page