How do I check if my domain is grandfathered?

*爱你&永不变心* 提交于 2019-12-25 16:08:35

问题


I have thoroughly read through the updated google API Terms and Conditions:

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

Specifically, this excerpt:

Active domains created before June 22, 2016, continue to be able to access the Google Maps JavaScript API, Static Maps API, and Street View Image API without an API key. They are not affected by keyless access being unavailable for new domains.

My question is, how do I figure out if my domain is grandfathered and can continue to call the static maps API without the API_KEY parameter?


回答1:


You can test if your domain was whitelisted by trying to load a map without an API key. If you manage to get the static map image it means you were whitelisted.

The whitelist has 25000 queries per day limit which is equivalent to the free quota limit when you are using a key.

To be able to monitor your usage and, if needed, get more quota it would be best for you to start using an API key. You can then check quota and monitor your usage in the Google Developer Console



来源:https://stackoverflow.com/questions/38828155/how-do-i-check-if-my-domain-is-grandfathered

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