在制作一个地理编码之前,Google地图API密钥超出查询限制 [英] Google Maps API key over query limit before a single geocode has been made

查看:259
本文介绍了在制作一个地理编码之前,Google地图API密钥超出查询限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站由rackspace托管,我知道这对Google Maps API用户来说是一个常见问题,所以我会按照谷歌地理定位文档在这里。



我尝试然后采取链接,并直接将其放入我的浏览器查看生成的内容,这就是我回来的内容:



URL XXXXXX是API密钥测试的URL:

  https://maps.google.com/maps/api/geocode/json?address=3750+Barranca+Pkwy+Irvine%2C+CA+92606&sensor=false& ; region = US& key = XXXXXX 

产生此消息:

 error_message:提供的API密钥无效。,
results:[],
status:REQUEST_DENIED

我使用Codeigniter和 Biostall ŝ谷歌版API 拿到地图的工作。但是,即使使用密钥,我仍然会收到OVER_QUERY_LIMIT错误。



是否有某种激活时间需要等待Google API密钥积极或为什么谷歌不会承认我不使用知识产权的计数地图读取的原因,但我应该在我自己的计数?它会这样工作吗?



请帮忙,我在网上看不到解决方案,Google支持让我在这里。
预先感谢您!

解决方案

Google地址解析API不需要任何密钥 文档



< (无密钥)

和业务用户每天需要100,000个请求(需要业务密钥)

>

我假定您输入的密钥是 这是


My site is hosted by rackspace and I understand that is a constant problem for Google Maps API users, so I setup an API key as described in the Google Geolocation documentation here.

I tried then taking the link and directly putting it into my browser to see what was produced and this is what I got back:

URL Tested where XXXXXX is the API Key:

https://maps.google.com/maps/api/geocode/json?address=3750+Barranca+Pkwy+Irvine%2C+CA+92606&sensor=false&region=US&key=XXXXXX

Yields this message:

"error_message" : "The provided API key is invalid.",
"results" : [],
"status" : "REQUEST_DENIED"

I am using Codeigniter and Biostall's Google v3 Api to get the maps to work. However, even with the key in place, I still get the "OVER_QUERY_LIMIT" error.

Is there some kind of activation time I have to wait for Google API keys to be made active or some reason why Google would not recognize I'm not using the IP's count of map reads, but I should be on my own count? Will it even work like that?

Please help, I am not seeing a solution online and the Google support puts me here. Thank you in advance!

解决方案

The Google Geocoding API requires no key Documentation for non business users.

The API limits non business users to 2,500 requests per day.(No key)

And business users to 100,000 requests per day.(Business key required)

I assume the key you entered is This

这篇关于在制作一个地理编码之前,Google地图API密钥超出查询限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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