views:

638

answers:

4

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

+1  A: 

Take look at this:

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

adopilot
But i want to create task not calendar.
Preeti Singh
+5  A: 

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!

Maxim Zaslavsky
Thanx Maxim.. i will try to solve this issue
Preeti Singh
A: 

Well, there must be some way because GQueue does it.

Joe
A: 

google has to improve its APIS

it should use microsoft webservices and be simple.