0

Search not working if API key is first

Hello. I was requesting events from Upcoming using:

http://upcoming.yahooapis.com/services/rest/?api_key=(...key omitted...)&method=event.search&sort=posted-date-desc

Theoretically, this should get me the most recently posted data first. Instead, my first event was posted "2009-09-13 21:14:47". If I just ask for data without trying to sort it:

http://upcoming.yahooapis.com/services/res...api_key=(...key omitted...)

the first event listed has a "date_posted" of "2010-01-09 07:06:46". This got me to wondering if where I placed the API key affected the returned data. It turns out that yes it does. In order to search properly, the API key must be listed last.

This seems like a bug to me. The order should not affect the results. If you don't fix it, at least make a note of it in the API documentation please.

by
1 Reply
  • Hi there, I am having our engineers to take a look at it. I'll get back to you shortly. -Elsa
    0
This forum is locked.

Recent Posts

in Upcoming API - General Questions