Google地图地理编码API,如何使用您的API密钥访问? [英] Google Maps Geocode API, how to access with your API Key?

查看:253
本文介绍了Google地图地理编码API,如何使用您的API密钥访问?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据Google地图的Geocode API文档:



https://developers.google.com/maps/documentation/geocoding/index#GeocodingRequests



你可以简单地做一个调用地理编码请求地址,如下所示:



http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+ Mountain + View,+ CA& sensor = false



然而,根据本节,每天有2500次请求的使用限制。


  • 由于请求网址不包含任何类型的API密钥参数,因此Google如何跟踪查询限制?是否仅仅通过客户的IP地址?

  • 我拥有Google Maps API v3密钥,该密钥表示存在 礼貌限制:25,000个请求/天 。这与Geocoding API有什么不同?或者,我能否以某种方式将我的Google Maps API密钥与Geocoding API一起使用,以便每天可以处理超过2500个请求?

解决方案

是的,它是通过IP地址。



25,000是每天的地图加载数量

2,500是地理编码每天



如果你想要更多,你需要获得一个帐户,最后我检查它需要花费$ 10,000才能开始。


According to Google Map's Geocode API documentation:

https://developers.google.com/maps/documentation/geocoding/index#GeocodingRequests

you can simply make a call to the geocode request address like this:

http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false

However, according to this section, there is a usage limit of 2500 requests per day.

  • Because the request url doesn't contain any type of API key parameter, how is Google tracking the query limit? Is it simply by the client's IP address?
  • I have a Google Maps API v3 key, which says that there is a "Courtesy limit: 25,000 requests/day". Is this something different than the Geocoding API? Or can I somehow use my Google Maps API key with the Geocoding API so that I can potentially do more than 2500 requests per day?

解决方案

Yes it is by ip address.

25,000 is for map loads per day

2,500 is for geocodes per day

If you want more you need to get an account with them and last I checked it cost $10,000 to start.

这篇关于Google地图地理编码API,如何使用您的API密钥访问?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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