seatgeek / api-support

A support channel for the SeatGeek Platform
9 stars 10 forks source link

different results from same endpoint #46

Closed rhogan11 closed 7 years ago

rhogan11 commented 7 years ago

Hello, I'm noticing some strange responses querying for events. Using the url below repetitively, I will get different results. Most of the time, I get what appears to be an accurate response (19 events), and then randomly I will get close to 500 events, all in the correct location range of the query but with no respect to the time parameter. Am I formatting something wrong in this query?

https://api.seatgeek.com/2/events?per_page=100&lat=44.9838725000001&lon=-93.2712146100003&range=20mi&type=concert&datetime_local.gte=2017-06-29&datetime_local.lt=2017-06-30&client_id={CLIENT_ID}

Thanks!

dhruvg commented 7 years ago

Hi, can you paste an event result from the response which you don't expect to be included? Thanks,

rhogan11 commented 7 years ago

this was the last event returned for one instance of that query, note datetime_local of 2017-07-15.

{  
   "time_tbd":false,
   "visible_until_utc":"2017-07-16T05:00:00",
   "type":"concert",
   "title":"Ray Bonneville",
   "score":0.0,
   "performers":[  
      {  
         "primary":true,
         "home_venue_id":null,
         "type":"band",
         "short_name":"Ray Bonneville",
         "score":0.0,
         "stats":{  
            "event_count":2
         },
         "taxonomies":[  
            {  
               "name":"concert",
               "parent_id":null,
               "id":2000000
            }
         ],
         "id":29374,
         "has_upcoming_events":true,
         "image_attribution":null,
         "images":{  

         },
         "slug":"ray-bonneville",
         "genres":[  
            {  
               "primary":false,
               "slug":"country",
               "name":"Country",
               "id":450
            },
            {  
               "primary":true,
               "slug":"blues",
               "name":"Blues",
               "id":465
            },
            {  
               "primary":false,
               "slug":"jazz",
               "name":"Jazz",
               "id":468
            }
         ],
         "image_license":null,
         "divisions":null,
         "name":"Ray Bonneville",
         "num_upcoming_events":2,
         "colors":null,
         "url":"https:\/\/seatgeek.com\/ray-bonneville-tickets",
         "image":null
      }
   ],
   "stats":{  
      "lowest_price":null,
      "lowest_price_good_deals":null,
      "listing_count":null,
      "average_price":null,
      "highest_price":null
   },
   "taxonomies":[  
      {  
         "name":"concert",
         "parent_id":null,
         "id":2000000
      }
   ],
   "datetime_tbd":false,
   "is_open":false,
   "venue":{  
      "slug":"the-warming-house",
      "id":298785,
      "postal_code":"55409",
      "country":"US",
      "state":"MN",
      "timezone":"America\/Chicago",
      "has_upcoming_events":true,
      "city":"Minneapolis",
      "display_location":"Minneapolis, MN",
      "name":"The Warming House",
      "num_upcoming_events":29,
      "location":{  
         "lat":44.9303,
         "lon":-93.2905
      },
      "name_v2":"The Warming House",
      "extended_address":"Minneapolis, MN 55409",
      "address":"4001 Bryant Ave South",
      "url":"https:\/\/seatgeek.com\/venues\/the-warming-house\/tickets",
      "links":[  

      ],
      "score":0.0
   },
   "announce_date":"2017-06-12T00:00:00",
   "datetime_local":"2017-07-15T20:00:00",
   "id":3909611,
   "date_tbd":false,
   "datetime_utc":"2017-07-16T01:00:00",
   "links":[  

   ],
   "short_title":"Ray Bonneville",
   "created_at":"2017-06-12T00:00:00",
   "url":"https:\/\/seatgeek.com\/ray-bonneville-tickets\/minneapolis-minnesota-the-warming-house-2017-07-15-8-pm\/concert\/3909611"
}
dhruvg commented 7 years ago

Should be fixed. Let us know if you continue to see odd behavior.