Okay, here's what I've discovered...
Define routines like this:
import urllib
def _id(cal):
"""Return the ID of a CalendarListEntry"""
return urllib.unquote(cal.id.text.split('/').pop())
def _feed_url(cal):
"""Return the feed url of a CalendarListEntry"""
return "/calendar/feeds/"+_id(cal)+"/private/full"
Here 'cal' is a CalendarListEntry object. Then, to insert an event
with InsertEvent:
calendar_service.InsertEvent(event, _feed_url(cal))
and to use CalenderEventQuery:
gdata.calendar.service.CalendarEventQuery(_id(cal), 'private', 'full',
text_query)
In the documentation it would be helpful to show how to manipulate a
non-primary calendar (list, add, remove events) when the calendar is
found by searching a calendar feed (i.e. GetAllCalendarsFeed() or
GetOwnCalendarsFeed() )
--~--~---------~--~----~------------~-------~--~----~
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://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---