Closed nikarc closed 6 years ago
@nikarc The datetime_utc
and datetime_local
parameters only work with full datetimes, so 2018-08-06
is interpreted as 2018-08-06T00:00:00
. Using .gte
and .lte
should work for your use case:
Ahh ok, thanks @chrisvoll !
Hi guys,
I'm calling the
/events
endpoint and, for some cities, including thedatetime_utc
query will cause the endpoint to return an empty array.Here is an example with Brooklyn as the city which works correctly:
https://api.seatgeek.com/2/events?venue.city=brooklyn&datetime_utc=2018-08-06&taxonomies.name=concert&per_page=5
But when I try San Francisco as the city:
https://api.seatgeek.com/2/events?venue.city=san%20francisco&datetime_utc=2018-08-06&taxonomies.name=concert&per_page=5
I get an empty array for the events attribute:
If I try the San Francisco url without the datetime_utc query, i get a a full list of events, some of which are on 2018-08-06, so I'm not sure why they wouldn't be included when called with the
datetime_utc
queryThanks