How to create Task using Google Calendar API

前端 未结 3 1457
一生所求
一生所求 2021-02-14 05:00

I want to create Task in Google Calendar using Google Calendar API.Using C#. Looking for some sample codes.

3条回答
  •  长情又很酷
    2021-02-14 05:18

    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

提交回复
热议问题