The Movie Database Support

Hello,

I have a question regarding the changes endpoints (https://api.themoviedb.org/3/movie/changes and the TV one). Why are these endpoints paginated?

My goal is to ensure that the media I have are synchronized with TMDB. Let's say I have 2000 movies and 1000 TV shows. Previously, I would query the changes for the last 24 hours, retrieve all the IDs, and compare them with my records. For each match, I would then query the details and update the media with the new data.

However, since the introduction of pagination, the endpoint returns only 100 IDs per page. Given there are about 1500-2000 changes per day, I now need to query this endpoint 15-20 times for movies, and similarly for TV shows, to get all the changed IDs and then query each media individually.

My concern is to avoid making an excessive number of queries to the endpoints. Is it okay if I call each endpoint 20 times to get all the changes + the individual call after that ?

Thank you.

1 reply (on page 1 of 1)

Jump to last post

Is it okay if I call each endpoint 20 times to get all the changes + the individual call after that ?

Yes, no issues with this.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login