是否可以使用具有相同 API KEY 的 Maps 和 Place API [英] Is it possible to use Maps and place API with same API KEY

查看:21
本文介绍了是否可以使用具有相同 API KEY 的 Maps 和 Place API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我厌倦了构建一个使用谷歌地图显示地点和 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 KEY 的 Maps 和 Place API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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