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...
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 6 maj 2016 vid 10:45 AM
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?
Svar från siggism
den 6 maj 2016 vid 10:52 AM
Thanks Travis!
We would check daily if there are any updates.
As it say´s in the documentation that the list is updated daily.
Svar från Travis Bell
den 6 maj 2016 vid 11:22 AM
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.Svar från siggism
den 6 maj 2016 vid 11:33 AM
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.