开发者

How to create Task using Google Calendar API

I want to create T开发者_如何转开发ask in Google Calendar using Google Calendar API.Using C#. Looking for some sample codes.


Unfortunately, there is no API for the Tasks feature in Google Calendar. While the Calendar Data API is pretty extensive, the Tasks team hasn't released an API yet. Many people, including you, have requested such an API, but Google hasn't done anything to fill the gap yet. There are many posts on the Data API group about this, such as this one.

However, Google might release one into the wild soon. Until then, if you really need to use Tasks, you're going to have to do screen-scraping. In other words, you have to investigate how the GCalendar UI works and mimic interaction with it.

Some people have probably approached this problem and created screen-scraping libraries. After searching a little bit, I haven't found a C# one. If you do decide to take this approach, please create an open-source library for the benefit of others who want to accomplish such a task.

Good luck!

UPDATE (5/26/2011) - There is a new Google Tasks API, released just a few weeks ago. Here are the docs. Good luck!

**UPDATE (25jun2014): the link is broken to documentation; here is the new one Google App Tasks


Take look at this:

Connecting to the Google Calendar API from C# or VB.NET


There IS a google tasks api - it includes C# http://code.google.com/apis/tasks/v1/getting_started.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜