为什么没有请求与Google Place API中使用的限制不同 [英] why no of request is different from used limit in google place api

查看:54
本文介绍了为什么没有请求与Google Place API中使用的限制不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已向Google Place API提出了请求,请求的数量大约在1500-1600附近,但使用的配额限制显示为15800.我已经验证了我的帐户.

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.

请求:

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

为什么?

推荐答案

您正在使用textSearch.文字搜索的乘数是10倍. 摘自文档:

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

Google地方信息搜索服务具有相同的使用限制.但是,文本搜索服务的乘数是10倍.也就是说,您提出的每个文本搜索"请求将计为10个请求(不超过您的配额).如果您购买的Google Places API是Google Maps API for Work合同的一部分,则乘数可能会有所不同.有关详细信息,请参阅Google Maps API for Work文档.

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.

这篇关于为什么没有请求与Google Place API中使用的限制不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆