Thanks for helping am63!

Mark,

The list of URL parameter is available in the online documentation, in
the reference page:
http://code.google.com/apis/calendar/data/2.0/reference.html#Parameters
and in the GData reference (the URL parameters that are in common with all
Google GData APIs):
http://code.google.com/apis/gdata/docs/2.0/reference.html#Queries
*
*
Without the "max-results" query parameter by default the API will return 25
events, which you can page though the results by using the query parameter
"start-index".

Cheers!
*
Nicolas*


On Sat, Feb 19, 2011 at 3:46 PM, mpemburn <[email protected]> wrote:

> Follow up:
>
> Yes!  That absolutely works!  I added $query->setMaxResults(10000);
> and now all events for the year show with one pass.  Thanks again!
>
> Mark
>
> On Feb 19, 9:40 am, mpemburn <[email protected]> wrote:
> > am63,
> >
> >    Thanks for your reply.  I am not aware of a 'max-results'
> > parameter.  I haven't really found a list of all possible parameters
> > yet.  What I do have is:
> >
> >         $query->setStartMin($startDate);
> >         $query->setStartMax($endDate);
> >
> > . . . so would this be something like:
> >
> >         $query->setMaxResults(10000);
> >
> > . . . ?
> >
> >    In the meantime, since I was getting heavy pressure to 'just make
> > it work', I set it up to get the events a month at a time by iterating
> > over the query 12 times, updating the start and end dates to the
> > beginning and end date of each month.  Actually, it has to be the
> > start of the month and the start of the *next* month or it'll miss
> > events on the final day of the month.
> >
> > Mark
> >
> > On Feb 18, 8:31 am, am63 <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Well, you should have included your source code, as you may have missed
> the
> > > "max-results" query parameter ; try to specify some big number if you
> want
> > > to fetch ALL events.
> >
> > > Have you tried by creating a new calendar from scratch ? How many
> events are
> > > there in the calendar ? Please note that the Calendar API has some
> > > restrictions about heavy use (see Terms & Conditions)
>
> --
> 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://code.google.com/apis/calendar/community/forum.html
>

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to