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
дана 06. мај 2016. у 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?
Одговор од siggism
дана 06. мај 2016. у 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.
Одговор од Travis Bell
дана 06. мај 2016. у 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.Одговор од siggism
дана 06. мај 2016. у 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.