OVER_QUERY_LIMIT while using google maps

后端 未结 6 1316
陌清茗
陌清茗 2020-11-28 09:45

I have a problem while acessing google maps from my application, when i send more than 10 requests in loop from java script i get the exception as OVER_QUERY_LIMIT from geoc

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 10:20

    Have a list of API's and use them randomly for each request . For Example in python

    like keys = [key1,key1,key3....]

    location = Geocoder(random.choice(keys)).geocode(address) 
    

    or

    location = Geocoder(random.choice(keys)).reverse_geocode(Lat,Long)
    

    Based on your Requirement

提交回复
热议问题