Hello
I'm trying to operate google calendars with python, after read the
sample code and Google's Calendar Python develop guide , I still
confused to handle the non-private calendar.

#---------
    new_calendar =
self.cal_client.InsertCalendar(new_calendar=calendar)
    return new_calendar
#---------
Above code can create a new calendar, and I can operate it well,such
as add event and delete event. but how to handle a exist calendar?

#---------
def PrintAllEventsOnDefaultCalendar(calendar_service):
  feed = calendar_service.GetCalendarEventFeed()
#---------
Above code: GetCalendarEventFeed method returns the user's primary
calendar,how can I get the non-primary calendar? so I check the
reference .
GetCalendarEventFeed(self, uri='/calendar/feeds/default/private/full')

so I think I should make a right uri for methord
GetCalendarEventFeed()
after several codes , I can get the right target calendar ID , such as
"c4o4i7m2lbamc4k26sc2vokh5g%40group.calendar.google.com"
and I try many times to glue a  good uri  for  GetCalendarEventFeed(),
but failed finally.
none of the worked.
such as :
/calendar/feeds/c4o4i7m2lbamc4k26sc2vokh5g%40group.calendar.google.com
and so on.


Can anyone give me some suggestion.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to