I am writing an application for android using an API that has a limit on the number of requests per day (1000). How to act in these cases? Create a separate application on the PC that will work with the database? In general, I'm completely new, so I have no ideas
1 answer
Well, it may help to create several accounts with the API provider and, when used in the application, generate a number from 0 to the number of akkov and access the API through this account. So you will not be limited to the number of requests, if you correctly calculate the required number of Acks and if this is not prohibited by the rules of using the API (or if it is not noticed) and if it is technically possible.
Adding from @Roman Novoselov:
As a rule, the service returns the reasons for the failure - analyze it, if the reason is an excess of the number of requests, then use the trace key. Well, minimize the number of requests as much as possible. For example, it supported an application using the Google Maps Place API (auto-filling of the city name by the entered part of the name) - after the number of requests was exceeded, one hundred to request data only after the number of entered letters is a multiple of three, with spaces and hyphens. But here everyone has their own way)