从iPhone原生应用访问Google API [英] Accessing Google APIs from iPhone native app
问题描述
我想从iPhone原生应用中访问一些Google API。我不是网络程序员,从未使用过AJAX,但我猜我需要在Objective-C和Javascript之间建立某种桥梁。理想情况下,我只需在Google处理XML并处理结果。
I'd like to access some Google API's from within an iPhone native app. I'm not a web programmer and have never used AJAX, but I'm guessing I need some kind of bridge between Objective-C and Javascript. Ideally I'd just fire XML at Google and process the result.
我真的不知道是不是要开始。
I really have no idea were to start.
有没有人成功完成这项任务,或者知道任何好处资源?
Has anyone successfully done this, or know of any good resources?
推荐答案
请参阅gdata-objectivec-client:Google Data API的官方Objective-C客户端库(它也适用于iPhone) 。)请参阅 http://code.google.com/p/gdata-objectivec- client / 。
除非您的意思是AJAX Search API,否则请参阅 http://code.google.com/apis/ajaxsearch/documentation/#fonje - 这将提供JSON响应。
See gdata-objectivec-client : the official Objective-C client library for Google Data API's (it works on the iPhone too.) See http://code.google.com/p/gdata-objectivec-client/.
Unless you mean the AJAX Search API - see http://code.google.com/apis/ajaxsearch/documentation/#fonje - that will provide a JSON response.
这篇关于从iPhone原生应用访问Google API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!