Hi,

To insert an event to non-default calendar, you do that by specifying the
correct calendar ID to the secondary calendar -

id = 'calendarid'
new_event = calendar_service.InsertEvent(event, '/calendar/feeds/' + 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 it helps,
Austin


On Jan 5, 2008 6:33 AM, Sophie Hilgard <[EMAIL PROTECTED]> wrote:

>
> using the quick add code as in this example, how do i post to a
> calendar other than the default? thank you!
>
> event = gdata.calendar.CalendarEventEntry()
> event.content = atom.Content(text='Tennis with John July 30
> 3pm-3:30pm')
> event.quick_add = gdata.calendar.QuickAdd(value='true')
>
> # Send the request and receive the response:
> new_event = calendar_service.InsertEvent(event, address)
>
>
> >
>

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