🍿 @lorenzopant/tmdb

Changes

Query the change history for a specific person.

Returns the changes made to a person record. By default, TMDB returns the last 24 hours of changes.

async changes(params: PersonChangesParams): Promise<PersonChanges>

TMDB Reference: Person Changes

Parameters

NameTypeRequiredDescription
person_idnumberTMDB person identifier.
pagenumberPage number for paginated change results.
start_datestringStart date in YYYY-MM-DD format.
end_datestringEnd date in YYYY-MM-DD format.

Returns

A PersonChanges object containing grouped changes.

Example

const changes = await tmdb.people.changes({
	person_id: 31,
	start_date: "2024-01-01",
	end_date: "2024-01-14",
});

On this page