Hi folks, I am a newbie programming on Google API and I want to list
all events on all private calendars.
This is my python routine:
calendarios = calendar_service.GetOwnCalendarsFeed()
for ical, a_calendar in enumerate(calendarios.entry):
query = gdata.calendar.service.CalendarEventQuery(a_calendar.link,
'public', 'full')
query.start_min = '2009-07-01'
query.start_max = '2009-07-10'
eventos = calendar_service.CalendarQuery(query)
for iv, evento in enumerate(eventos.entry):
print '\t%s. %s' % (ical, a_calendar.title.text,
evento.title.text)
On the 3rd line, I tried a_calendar.link and a_calendar.id but both
didn't work.
What is the correct parameter to use ?
I understand that the first parameter on CalendarEventQuery is the
reference of the a given calendar. Am I right?
Thanks in advance,
Josir Gomes
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---