Ray, thanks for your super-quick response. I just noticed this:
(Pdb) feed.FindExtensions() [<atom.ExtensionElement object at 0x293afd0>, <atom.ExtensionElement object at 0x293c050>, <atom.ExtensionElement object at 0x293c090>] (Pdb) These the list is empty for small queries, however it's only populated with queries that appear to be truncated. Presumably these "ExtensionElement" objects refer to continuations of the truncated feed (because I over-ran the limit). Is there a way to get a feed object from one of these ExtensionElement objects? As an alternative to just raising the maximum number of results - is it possible to process a long search in a number of chunks? The reason I ask is that in my problem there's no way to guess how many events might exist in a sufficiently large time-gap. Thanks, Sal On Feb 17, 1:40 am, Ray Baxter <[email protected]> wrote: > "It's as if there's some kind of limit to how many single- > events my queries can return." > > It's not a hard limit, but the maximum number of events returned defaults to > 25. This is controlled by the max-results query parameter. > > Ray > > On Mon, Feb 16, 2009 at 5:32 PM, Salim Fadhley <[email protected]>wrote: > > > > > I've found an odd feature of the Python google-calendar API that I do > > not fully understand. I'm able to query the calendar and get a bunch > > of events. I can look at those event objects and get the actual > > instances of those repeating events, and for small queries all results > > look good. > > > Problems occur when I attempt a bigger query, for example suppose I > > were to grab a 24 hour chunk of the calendar (e.g. all of Sunday) and > > then I attempt to get a 48 hour chunk which is a super-set of the > > original (e.g. all of Sunday + all of Monday). If I were to look at > > the events obtained the first one ought to be a sub-set of the second > > one but that is not always the case. > > > In the above example, there are always items missing from the bigger > > result-set. It's as if there's some kind of limit to how many single- > > events my queries can return. > > > I expect what's going on here is that the queries are being truncated > > - perhaps there is some kind of maximum limit on the amount of data > > any single query can return, if so is there a way to determine if > > truncation has occurred? Alternatively is there a way to modify the > > query so that I can ensure that the results are never truncated. > > > I'm querying the calendar like this: > >http://pastebin.com/m365bee74 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
