seatgeek-cli
v0.0.4
Published
SeatGeek Command Line Tool
Downloads
5
Readme
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_deals
field, 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:
-c
or--city
- Takes a string representing a city name to filter on
- Arg:
State
(Optional)- Arg:
-s
or--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:
-t
or--type
- Use any of these
Taxonomy
slugs to filter on a specific type of event to view.
- Arg:
Datetime
(Optional)- Arg:
-d
or--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: