seatgeek / api-support

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

Excluding Taxonomies from Events Query #3

Closed laurengibbonz closed 8 years ago

laurengibbonz commented 8 years ago

Hi,

I'm not having an issue with the API but saw this forum was where I could post questions.

Is there a way to exclude/filter taxonomies (by ID or name) from an events query? For example, I would like to get all events except those in the sports taxonomy? I see you have filter options for events by pricing parameters.

If there is no way to exclude a taxonomy do you recommend I build the API with all the taxonomies I do want, e.g. https://api.seatgeek.com/2/events?taxonomies.name=sports&taxonomies.name=concert ?

Thank you, Lauren

garetht commented 8 years ago

Hi,

Unfortunately, we do not have a way to exclude particular taxonomies from a search query, only specify the ones that you wish included. Listing only the taxonomies you want, as you suggest, would be an excellent way of working around this. Thanks for using our API!

SeatGeek

josegonzalez commented 8 years ago

@laurengibbonz What would the syntax for exclusions look like? As far as I know, we don't have anything similar to that. The only potentially applicable filters are range filters, which could work for taxonomy IDs, but certainly not for names.