Hello!
I just got started integrating my app with the API and I'm trying to essentially find all the movies that exist in the DB. Just so you understand the nature of the app, it's a way for the user(s) to find a movie to watch by ranking them in a certain way. With this I want to have all movies accessible for the app to just fetch them in no specific filtered way.
I integrated with the Discover endpoint and noticed that there were some pagination details in the response, including the "total_pages" property in the response object. The value is 46416 as of me writing this, but as I try to fetch any other page above 500, I get an error response. Is this intentional?
Is there any way that I can really fetch all movies? I noticed the JSON exports that happen daily, but I'm not sure if that includes all movies? I'll use that for now, but would love to know about the reason the page limit is set, and if there is a better way for me to import all the movies into my app project.
Thanks!
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 superboy97
on May 9, 2024 at 7:58 AM
Yes.
You should use the daily export file instgead of the Discover method.