I found a blog post here (http://jebbeich.blogspot.com/2009/07/query- events-of-non-primary-google.html) which tells how to query the non- primary calendar using the python api.
It looks like there's just a bug in the python version of the api that doesn't allow you to specify a feed url when creating a query. Luckily, everything is public in python, so we're able to go in and muck with the query's internal dictionary to set the appropriate value. Luke On Jan 7, 11:25 am, Azound <[email protected]> wrote: > where do you specify the calendar id for your query? > > On Jan 7, 5:00 am, florent devin <[email protected]> wrote: > > > For some reason Google limits the results returned by a request to a limit. > > You can overcome this by doing : > > in Java, this can be done by : myQuery.setMaxResults(1000); > > > I do not see why you do succeed in access to a non primary calender. The > > only thing I see is that you do not have the permission to access. > > Second way to > > > 2010/1/7 Azound <[email protected]> > > > > I currently get my calendar event feed through the python api's > > > GetCalendarEventFeed(url) api, where url is '/calendar/feeds/ > > > <calendar_id>/private/full'. Unfortunately, this function doesn't let > > > me specify max_results, so the number of events returned is limited to > > > the default (25, I believe). > > > > It looks like in order to get more events, I need to construct a > > > CalendarEventQuery, and then call CalenderQuery on my CalendarService > > > (). This is all well and good, except I don't know how to specify a > > > non-primary calendar for the query (I can't find a calendar_id > > > parameter, or url parameter to pass this information). Is there > > > something I'm missing? How can I get the entire feed for a non- > > > primary calendar? > > > > Thanks! > > > > P.S. Is it possible to do something like call GetCalendarEventFeed in > > > a loop to get all the events? > > > > -- > > > 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]<google-calendar-help-dataapi%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-calendar-help-dataapi?hl=en. > > > -- > > Florent Devin
-- 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.
