hello lax,

typically when you create an event and want to add to the primary
calendar
you would create the event object and perform the following command in
python.

new_event = calendar_service.InsertEvent(event, '/calendar/feeds/
default/private/full')

to add to another calendar, you must first grab the id of the
calendar. and then do the following:

new_event = calendar_service.InsertEvent(event, '/calendar/feeds/'+ID
+'/private/full')

NOTE: just in case you don't know how to get the id of a calendar you
can do the following:

cal_feed = calendar_service.GetOwnCalendarsFeed()
for i, a_calendar in enumerate(cal_feed.entry):
     print  a_calendar.id.text

Hope this helps, Mez

On Apr 29, 11:52 am, lax <[EMAIL PROTECTED]> wrote:
> How can we create events in different calendars (other than the
> primary calendar)?
--~--~---------~--~----~------------~-------~--~----~
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