简体   繁体   English

请求Google路线和地理编码时需要API密钥吗?

[英]Is API key needed when making a request for Google Directions and Geocode?

I'm developing an application for both Android and iOS which is using Google Maps API, Google Directions API and Google Geocode API. 我正在使用Google Maps API,Google Directions API和Google Geocode API开发适用于Android和iOS的应用程序。 The maps can't run without the API key so I got one from Google Console. 没有API密钥,地图就无法运行,因此我从Google控制台中获得了一张。 There are API keys for Directions and Geocode too but I haven't requested them. 也有用于路线和地理编码的API密钥,但我没有要求它们。 In the documentations for Geocode and Directions it's written that API key should be added in the URL request and I haven't added them when I request from them and it is still working perfectly. 在Geocode和Directions的文档中,已写有API密钥应添加到URL请求中,而当我向他们请求时未添加它们,它仍然可以正常工作。 My question is: Do I need to request API keys for them? 我的问题是:我需要为其请求API密钥吗? The app will be commercialized in the future. 该应用程序将在未来实现商业化。

https://developers.google.com/maps/documentation/directions/#api_key https://developers.google.com/maps/documentation/directions/#api_key

All Directions API applications should use an API key. 所有Directions API应用程序均应使用API​​密钥。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM