是否可以使用地图并将API放置在相同的API KEY中 [英] Is it possible to use Maps and place API with same API KEY
问题描述
我很费力地构建一个应用程序,该应用程序使用谷歌地图显示地点和Pace API来搜索地点。但无法在清单中使用两个不同的API密钥构建应用程序。所以,我想知道是否可以使用相同的API密钥访问Maps和Place API。或者有其他的方法可以做到这一点。
您可以在两者上使用相同的密钥,也可以只为所有Google API使用一个密钥
请参阅下面的图片,列出所有google api并查看此内容
现在您必须启用所有api,这里必须启用您在您的应用中需要的API。请参阅
注意:
您必须为特定平台的不同API平台创建API密钥你必须创造。见下图
现在,您可以通过链接
I was tiring to build an app which uses google maps for showing places and Pace API for searching places. but it is not being possible to build the app with two different API keys in the manifest. So, I want to Know if it is possible to access both Maps and Place API with the same API key..? or There is some other way for doing this.
Yes! you can use same key on both of and also you can use only one key for all Google API
See below image in listed all google api and see this link.
Now you have to Enable all of api, Here must enable API you have require in your app. see this
Note:
You have to create API key for particular platform different platform for different API key you have to create. See below image
Now get Stared with this Link
这篇关于是否可以使用地图并将API放置在相同的API KEY中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!