1

Upcoming API: get only updated events

The closest thing we have is the parameter add sort=posted-date-desc, which orders the set of results by date added. This won't return events edited after they were added. What I mean by that is that edit time is not taken into account with that sort, just the original time. Edited events will still be returned, of course, but in the order they were added to Upcoming as opposed to being edited.

E.g. the API call http://upcoming.yahooapis.com/services/rest/?method=event.search&api_key=XXX&sort=posted-date-desc (substitute your own API key) returns all future events and orders them by date added to Upcoming, most recent first.

To see/play around with the different parameters available for event.search and try sort=posted-date-desc out see here: http://upcoming.yahoo.com/services/api/explore/?method=event.search

If you are asking for a range to limit events added or edited between certain dates but this is not possible in event.search

by
5 Replies
  • Anyone?

    0
  • Is there any support for the Upcoming API?

    Who can I contact with such questions?

    1
  • We don't offer support for that API, but I'll try to find out who does. Let me see what I can find out and get back to you.

    1
  • The closest thing we have is the parameter add sort=posted-date-desc, which orders the set of results by date added. This won't return events edited after they were added. What I mean by that is that edit time is not taken into account with that sort, just the original time. Edited events will still be returned, of course, but in the order they were added to Upcoming as opposed to being edited.

    E.g. the API call http://upcoming.yahooapis.com/services/rest/?method=event.search&api_key=XXX&sort=posted-date-desc (substitute your own API key) returns all future events and orders them by date added to Upcoming, most recent first.

    To see/play around with the different parameters available for event.search and try sort=posted-date-desc out see here: http://upcoming.yahoo.com/services/api/explore/?method=event.search

    If you are asking for a range to limit events added or edited between certain dates but this is not possible in event.search

    1
  • Thank you for a reply.

    I 'played' around with all the parameters and couldn't find a combination that would satisfy what I was looking for. That's why I posted in the first place :)

    Just getting the edited events would be nice because I wouldn't need to download all of them just to get at those that were changed from last time :)

    No worries, thank you for the response. If you ever get to implementing that feature, it would be very nice.

    0

Recent Posts

in General Discussion at YDN