限制谷歌自动完成查询? [英] Limit on google autocomplete queries?

查看:113
本文介绍了限制谷歌自动完成查询?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算在我的网站上使用Google自动完成功能。我可以制作的查询数量有限制吗?



我使用了这个问题中列出的确切代码:
How限制谷歌的自动完成结果以城乡仅
$ b

使用API​​密钥提交请求的应用程序允许每24小时1 000
个请求。您可以通过Google Developers Console的
验证您的身份,将上述限制提高至每24小时
150 000个请求。对于Google地方信息库JavaScript库:


对于Google地方信息库JavaScript,请使用信用卡进行
验证。 p>


这些限制不适用于位置JavaScript库,其中
不需要API密钥,且由Google地图覆盖JavaScript
API限制。


来源: https://developers.google.com/places/webservice/usage


I am planning to use the Google auto complete on my site. Is there a limit on the number of queries I can make?

I am using the exact code listed in this question: How to limit google autocomplete results to City and Country only

解决方案

For Google Places API:

Applications that submit requests with an API key are allowed 1 000 requests per 24 hour period. You can increase the above limit to 150 000 requests per 24 hour period by verifying your identity through the Google Developers Console. A credit card is required for verification, by enabling billing in the console.

For Google Places JavaScript Library:

These limits do not apply to the Places JavaScript Library, which does not require an API key, and is covered by the Google Maps JavaScript API limits.

source: https://developers.google.com/places/webservice/usage

这篇关于限制谷歌自动完成查询?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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