简体   繁体   English

如何在iPhone SDK中获取Google日历任务?

[英]How can I fetch google calendar tasks in iPhone SDK?

I want to retrieving Google Tasks for this first i try to get it from http://code.google.com/p/gdata-objectivec-client from gdata i use calendar API but it gives me only calendar events. 我想首先检索Google Tasks我尝试从gdata http://code.google.com/p/gdata-objectivec-client获取它我使用日历API,但它只给我日历事件。

Then I try to get it from http://code.google.com/apis/tasks but this API link only give me methods name it cannot give Google Task API. 然后我尝试从http://code.google.com/apis/tasks获取它,但此API链接仅提供方法名称,它无法提供Google Task API。

Is there any API for getting Google Tasks, please provide me link of that. 是否有任何用于获取Google Tasks的API,请提供相关链接。

Thanks in advance... 提前致谢...

Google is moving from older XML APIs ("Google Data APIs") to newer JSON APIs. 谷歌正在从旧的XML API(“Google Data API”)转向更新的JSON API。

Google Calendar is still available as an XML API, and can be accessed with the older library, http://code.google.com/p/gdata-objectivec-client/ Google日历仍可作为XML API使用,可以使用旧版库访问, http://code.google.com/p/gdata-objectivec-client/

Google Tasks is available as a JSON API, and can be accessed with the newer library, http://code.google.com/p/google-api-objectivec-client/ Google Tasks可作为JSON API使用,可以使用较新的库访问, http://code.google.com/p/google-api-objectivec-client/

The libraries share some common components for networking and authorization, and are compatible. 这些库共享一些用于联网和授权的通用组件,并且是兼容的。

There is a tasks example for the google-api-objectivec-client at: google-api-objectivec-client有一个任务示例:

http://code.google.com/p/google-api-objectivec-client/source/browse/#svn%2Ftrunk%2FExamples%2FTasksSample http://code.google.com/p/google-api-objectivec-client/source/browse/#svn%2Ftrunk%2FExamples%2FTasksSample

Did not use it myself, only know of its existence... 没有自己使用它,只知道它的存在...

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

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