Ok, I found the url in a_calendar.content.src, it shows as " http://www.google.com/calendar/feeds/ " + id + "/ private / full"
def addEvent(calendar_service):
event = gdata.calendar.CalendarEventEntry()
event.content = atom.Content(text='Tennis with John 30.12.2009 15:00-16:00')
event.quick_add = gdata.calendar.QuickAdd(value='true')
feed = calendar_service.GetOwnCalendarsFeed()
calurl=[a_calendar.content.src for i, a_calendar in enumerate(feed.entry)]
new_event = calendar_service.InsertEvent(event, calurl[1]) #calurl[1] select the 2. cal of own cals
source
share