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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on August 1, 2024 at 11:53 AM
Yes, no issues with this.