Hello we have a problem about the api request limit, 40 per 10 seconds.
We want to store all movies in our database so users don´t need to make api requests every time they view our website.
We would have a cron job that runs daily and checks if there are any updates and stores them in our database.
The reason that we want to have our own database with the movies so we can easy filter them by rating, release date and more.
Biggest problem now is the request limit that makes our cron job run for about 20 hours daily, is there easier way to do this ? could you extend our limit...
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 6 maggio, 2016 alle 10:45AM
Hi siggism,
At this time there is no way to get around the limit. Keep in mind the limit is imposed by IP address, not API key.
Quick question, are you running a full import every day?
Risposta da siggism
il 6 maggio, 2016 alle 10:52AM
Thanks Travis!
We would check daily if there are any updates.
As it say´s in the documentation that the list is updated daily.
Risposta da Travis Bell
il 6 maggio, 2016 alle 11:22AM
Oh, ok so you are using the changes API? Are you using
append_to_response
as well? Most days only have a few thousand changed movies so you shouldn't need to run that many requests.Risposta da siggism
il 6 maggio, 2016 alle 11:33AM
Yes we were thinking about using the changes API, what should we put in append_to_response ? If the movie was changed our not, we also need
to update if there are any new movies and changes in ratings etc.