This is how I ended up doing it. I found this by searching the
internet. It would be nice if I did not have to hard code it to using
a substring of 63 as it concerns me that google may change ethe API at
any time and alter the URL values. So if you have a more robust
approach I will be interested in knowing. Thank you.
Code:
if (strCalender != "")
{
CalendarQuery query = new CalendarQuery();
query.Uri = new Uri(m_strURLOwnCalendars);
CalendarFeed resultFeed =
(CalendarFeed)m_Service.Query(query);
foreach (CalendarEntry entry in
resultFeed.Entries)
{
if (entry.Title.Text == strCalender)
{
m_strURLPost = "https://www.google.com/
calendar/feeds/"
+
entry.Id.AbsoluteUri.Substring(63)
+ "/private/full";
break;
}
}
}
--
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