Hi, Hi think this thread is very similar to your question that I have answered in this past -
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/68a5aaaf64b4e95f/a27f4c6b89db2395 And the actual URL that represent your calendar would look like this - http://www.google.com/calendar/feeds/[CAL_ID]/private/full The ID of a calendar can be looked up by going to your Google Calendar account - 1) click on the "Settings" on the top right 2) choose the "Calendars" tab 3) click on the calendar you wish to insert the event to 4) go down to the row where it says "Calendar Address", you will see the calendar ID Hope that helps, Austin On Sun, Mar 23, 2008 at 9:12 PM, <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
