seatgeek-cli v0.0.4
SeatGeek Command Line Interface
Background
As a sucker for a good cheap deal, I ♥️ SeatGeek.
Unfortunately, the SeatGeek API doesn't currently release deal score data about events. The only information they release is a lowest_price_good_deals field on the event response object (and this field is not even documented in their official documentation).
What this command line tool does is
- Return the top fifty events (filtered on city, state, etc.) ordered by their popularity.
- Then sorts these events by their
lowest_price_good_dealsfield, from lowest to highest.
The idea is that this result set, while not perfect, should return the most popular events with the best deals.
Popularity acts as a proxy for quality and low prices for good deals act as an indicator for low prices for great deals (I know, I know, not always true).
One final note: I make no guarantees about performance and reliability. If you see problems, feel free to create an issue, and I will do my best to address these issues as they come in.
Install
npm install seatgeek-cli- NPMJS
Command Line Usage
sg(Required Command line Argument)City(Optional)- Arg:
-cor--city - Takes a string representing a city name to filter on
- Arg:
State(Optional)- Arg:
-sor--state - Takes a string representing the ISO-3166-2 state code to filter on.
- The SeatGeek Platform API specifies a two letter abbreviation.
- Arg:
Type(Optional)- Arg:
-tor--type - Use any of these
Taxonomyslugs to filter on a specific type of event to view.
- Arg:
Datetime(Optional)- Arg:
-dor--datetime - Defaults to filter on events starting in the next 3 months.
- Takes a string representing a UTC datetime in the ISO-8601 datetime format (
YYYY-MM-DDTHH:MM:SS).
- Arg:
Example
