Hi Steven, - Original message - How do I make it just 5 events?
Sorry I missed that query param in the earlier post. Add the following to the end of the URL: &max-results=5 For more info on additional query params, please see the reference guide accessible from the calendar data api docs: http://code.google.com/apis/calendar Also, if the calendar is already public, you can use /public/ instead of /private-<magicCookie>/ in the URL. Cheers, -Ryan On 3/27/07, Steven Hook <[EMAIL PROTECTED]> wrote: > > How do I make it just 5 events? > Steven > > On Mar 27, 4:07 pm, "Ryan Boyd (Google)" <[EMAIL PROTECTED]> wrote: > > Hi Steven, > > > > Yes, that sounds like it would be possible. You would need to grab > > your private magic-cookie feed URL from your calendar settings page.. > > this is labeled as the 'Private address' and should have a XML button > > next to it. > > > > http://www.google.com/calendar/feeds/<email address>/private- > > <magiccookie>/basic? > > orderby=starttime&sortorder=ascending&futureevents=true&singleevents=true > > > > This will get you, at max, the next 5 events sorted in ascending order > > by their starttime (instead of the usual descending update time > > ordering), will only retrieve events that are occurring in the future, > > and converts recurring events into their single instances. > > > > Note: you must trust the SMS program security features and that it > > will not to distribute the data or the magic cookie to others. This > > magic cookie will always be able to be used to retrieve your events > > off your calendar unless you click the 'reset private URLs' button on > > the calendar settings page. > > > > Cheers, > > > > -Ryan > > > > On Mar 27, 12:24 am, "Steven Hook" <[EMAIL PROTECTED]> wrote: > > > > > Hey, > > > I have an SMS program that can reply to an SMS with data it gets from > > > a URL to an XML file, > > > I was hoping I'd be able to have like a keyword like "upcoming" so > > > that would reply with any upcoming evens from the google calendar XML > > > link, is this possible? > > > Steven > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
