why no of request is different from used limit in google place api

╄→尐↘猪︶ㄣ 提交于 2019-12-25 03:49:26

问题


I have made request to google place API no of request is near about 1500-1600 but in used quota limit showing 15800 . I have verified my account.

request:

$baseurl = "https://maps.googleapis.com/maps/api/place/textsearch/json";  

why ?


回答1:


You are using a textSearch. Text Search has a 10 times multiplier. From the documentation:

The Google Places search services share the same usage limits. However, the Text Search service is subject to a 10-times multiplier. That is, each Text Search request that you make will count as 10 requests against your quota. If you've purchased the Google Places API as part of your Google Maps API for Work contract, the multiplier may be different. Please refer to the Google Maps API for Work documentation for details.



来源:https://stackoverflow.com/questions/32984774/why-no-of-request-is-different-from-used-limit-in-google-place-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!