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...
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 6 Μάιος 2016 στις 10:45 ΕΊΜΑΙ
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?
Απάντηση από τον/την siggism
στις 6 Μάιος 2016 στις 10:52 ΕΊΜΑΙ
Thanks Travis!
We would check daily if there are any updates.
As it say´s in the documentation that the list is updated daily.
Απάντηση από τον/την Travis Bell
στις 6 Μάιος 2016 στις 11:22 ΕΊΜΑΙ
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.Απάντηση από τον/την siggism
στις 6 Μάιος 2016 στις 11:33 ΕΊΜΑΙ
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.