iOS应用中的Google Places API [英] Google Places API in iOS application

查看:130
本文介绍了iOS应用中的Google Places API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我在提出问题之前分享我的发现。

Let me share my findings before asking the question.

Google Places API文档说:
注意:要使用Google Places API,您必须先请求一个Maps API
客户端ID和加密密钥,您必须使用该密钥来签署
请求URL。有关签署URL请求的信息,请参阅Web服务API主页中的
URL身份验证文档
page。

Google Places API documentation says: "Note: To use the Google Places API you must first request a Maps API client ID and cryptographic key which you must use to sign your request URLs. For information on signing URL requests, please see the URL Authentication documentation within the Web Service APIs home page."


  1. Google Places API仍在开发者预览版中。
    http://code.google.com/apis/maps/documentation / places /

我们需要客户ID(必填)和签名(必填)才能使用
Google Places API。
http://code.google.com/ apis / maps / documentation / webservices / index.html#URLSigning

We need a Client ID (required) and a Signature (required) to use the Google Places API. http://code.google.com/apis/maps/documentation/webservices/index.html#URLSigning

而且,要获得签名,我们需要一个Google Adsense帐户才能获得
Adsense发布商ID(必填)。
http://gmaps-ws-console.appspot.com/

And, to get the Signature, we need a Google Adsense account to get Adsense publisher id (required). http://gmaps-ws-console.appspot.com/

您可以在此处找到使用Google Places API的要求。
http://code.google.com/ apis / maps / documentation / places / index.html#Requirements

You can find the requirements to use the Google Places API here. http://code.google.com/apis/maps/documentation/places/index.html#Requirements

Google Maps API的注册页面显示您的服务
必须可供最终用户免费使用。要在其他类型的应用程序中使用Google map
技术,请使用Google Maps API
Premier。有关详情,请参阅此常见问题解答。
http://code.google.com/ intl / it-IT / apis / maps / signup.html

The Signup page for Google Maps API suggest that, "Your service must be freely accessible to end users. To use Google mapping technology in other types of applications, please use Google Maps API Premier. See this FAQ for more information." http://code.google.com/intl/it-IT/apis/maps/signup.html

现在,这就是我想要的要知道。

Now, here's what i want to know.

我打算在我的iOS应用程序中使用Google Places API。我没有
想要使用Adsense。我还可以免费使用
访问Google Places API吗?怎么样?

I'm planning on using Google Places API in my iOS application. I don't want to use Adsense. Can i still access the Google Places API for free? How?

如果我无法免费访问Google Places API,那么与使用此服务相关的费用是多少
以及可用的付款方式?
我无法找到任何特定资源来获取此信息。

If i can't access the Google Places API for free, what are the costs associated with using this service, and the available payment models? I wasn't able to find any particular resources for this information.

这是一个特定的场景。如果我的iOS应用程序是免费的怎么办
免费版使用Google Places API。但是......我的iOS应用程序有一些额外的功能,使用应用程序内购买(付费的
功能)。付费功能不使用Google Places API。这个
是否可以接受?

Here's a specific scenario. What if my iOS application is free. The free version uses Google Places API. But... my iOS application has some additional features which are exposed using In-app Purchase (paid features). The paid features do not use Google Places API. Is this acceptable?

推荐答案

我们本周在Google I / O上向所有开发者开放了Google Places API并简化了条款和身份验证:

We opened up the Google Places API to all developers this week at Google I/O and simplified the Terms and authentication:

http://googlegeodevelopers.blogspot.com/2011/05/places-everybody-show-is-about-to-begin.html

您不再需要签署您的请求,而只需使用使用Google API控制台获得的密钥。不再需要AdSense ID,但您需要通过基于信用卡的身份检查才能将每天的1,000个请求升级到100,000个。

You no longer need to sign your requests, but instead just use a key obtained using the Google APIs console. An AdSense ID is no longer required, but you will need to go though a credit card based identity check in order to upgrade from 1,000 to 100,000 request per day.

您可以在免费或通过Apple App Store或Android Market等移动应用商店在线销售的移动应用中使用Places API。对于费用桌面应用程序,但需要Maps API Premier许可证,该许可证将在Places API从Google代码实验室毕业后提供。

You can use the Places API in mobile apps that are free or sold online through a mobile app store such as the Apple App Store or Android Market. For fee desktop apps however will require a Maps API Premier license which will be offered once the Places API graduates from Google Code Labs.

有关入门的信息,请参阅文档:

For information on getting started, see the docs:

http:/ /code.google.com/apis/maps/documentation/places/

HTH,

Thor

这篇关于iOS应用中的Google Places API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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