Timeline for how can I wait for a google distance call to return my results before looping the next iteration
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 6, 2019 at 15:18 | comment | added | Karim Ali | HI All, I have found the issue. I have to wait for 10 Seconds before I send the next request.The Google Maps Distance Matrix API has the following limits in place (Users of the standard API): 2,500 free elements per day. 100 elements per query. 100 elements per 10 seconds.Jan 18, 2016 | |
Feb 4, 2019 at 16:45 | comment | added | Aleks G |
@KarimAli Are you sure that OVER_QUERY_LIMIT error is not an indication that you're making too many calls within a 24 hour period (or 30 day or whatever your subscription entitles you to)? I had seen this error in the past - and that was the reason.
|
|
Feb 4, 2019 at 15:07 | comment | added | Karim Ali | Hi graumanoz, Sorry for the late reply. I treid async/await as well but I am still getting OVER_QUERY_LIMIT in the second iteration. | |
Jan 31, 2019 at 23:07 | history | answered | Shahar G. | CC BY-SA 4.0 |