>From Client.py

  def get_next(self, feed, auth_token=None, converter=None,
               desired_class=None, **kwargs):
    """Fetches the next set of results from the feed.

    When requesting a feed, the number of entries returned is capped
at a
    service specific default limit (often 25 entries). You can specify
your
    own entry-count cap using the max-results URL query parameter. If
there
    are more results than could fit under max-results, the feed will
contain
    a next link. This method performs a GET against this next results
URL.

    Returns:
      A new feed object containing the next set of entries in this
feed.
    """
    if converter is None and desired_class is None:
      desired_class = feed.__class__
    return self.get_feed(feed.get_next_url(), auth_token=auth_token,
                         converter=converter,
desired_class=desired_class,
                         **kwargs)

  GetNext = get_next



I expect the syntax would be similar to these
    query.singleevents = "true"
    query.start_min = sd1
    query.start_max = ed

so it would be
    query.max-results = 200

or you can use the function above get_next()

for a max of 200 results.

Thomas


On Jan 7, 8: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-h­elp-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.


Reply via email to