API Quotas without any Application ID

爷,独闯天下 提交于 2019-12-04 16:03:39

Here is some hint I understood.

The following snippet is pasted from Elevation API's docs page.

The Elevation API may only be used in conjunction with displaying results on a Google map; using elevation data without displaying a map for which elevation data was requested is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions.

Maps API only allow authorized requests. which means you are taking a key for this elevation API too.

ADDED

How will excess usage by a site be calculated and billed? Excerpt from this link

Excess usage over the usage limit for each Maps API service is calculated at the end of each day. If your site generates excess usage every day for 90 consecutive days we will notify you that you need to respond in one of the following ways: one, two, three....etc.

I think what matters here is a referer which gives the webapp domain name when the user accesses your webapp.. Now the question is what if I use another server of mine to get the elevation json and display on my webapp...

In an ethical sense, 3 requests per second on average, continuously - should be a great and big app - no one will save on the payments over such a traffic. Technically though, this question is still an unsolved one.

UPDATE:

According to the documentation (https://developers.google.com/maps/documentation/elevation/intro) Elevation API is no more allowed to work without API_KEY. Google implemented new free quota limit, with automatic billing over quota (or the possiblity to enable a "premium" plan)

Anyway, at September 2016 API_KEY is not yet really mandatory, Elevation API still works without API_KEY, but it takes count over a global quota limit. It happens quite often that at a request without API_KEY you get an "over_quota" or "server_busy" error. I think that they are reducing the global quota, because errors are going to be more frequent.

Here some info: https://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update

OLD ANSWER:

I think Google use per IP quota, if no API-Key is specified.

I deduced it from here:

All Elevation API applications should use an API key. Including a key in your request:

  • Allows you to monitor your application's API usage in the Google Developers Console.
  • Enables per-key instead of per-IP-address quota limits.
  • Ensures that Google can contact you about your application if necessary.

at this link https://developers.google.com/maps/documentation/elevation

These quotas work on a per-machine basis, so you've essentially got a quota per IP address.

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