I want to get my schedule from Google using Google Calendar Data API.

I use WindowsXP sp3, C# 2010, Google.GData.Calendar.dll.

I looked this page.
http://code.google.com/intl/ja/apis/calendar/data/2.0/developers_guide_dotnet.html#RetrievingWithoutQuery

My code is this.
--------------------------------------
CalendarService service = new CalendarService("applicationname");
string email = "username";
string password = "password";
service.setUserCredentials(email, password);
CalendarQuery query = new CalendarQuery();
query.Uri = new Uri("https://www.google.com/calendar/feeds/"; + email +
"@gmail.com/private/full");
CalendarFeed resultsFeed = (CalendarFeed) service.Query(query);
string title = "";
foreach (CalendarEntry entry in resultsFeed.Entries)
        title += entry.Title.Text + "\r\n";
--------------------------------------

I can get string in title "username\r\n".
I want to get schedule data like "2011/03/05 15:00-17:00 meeting".
Please advice to me.

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html

Reply via email to