Sgcli

A command-line interface for SeatGeek

Download as .zip Download as .tar.gz View on GitHub

SGCLI - A command line interface for SeatGeek

What is it?

SGCLI is a command line interface for SeatGeek - the most popular destination for finding tickets to live events.

Why?

Making the SeatGeek experience available to everyone is key to our mission. By catering specifically to users without graphics-capable computers, we expose a whole new segment of people to the wonders of finding tickets with SeatGeek.

Are you serious?

I try not to be.

How do I get it?

Try pip install sgcli or easy_install sgcli, and then run the command sgcli.

Alternatively, just download the sgcli script from this repo and run it directly.

What are the dependencies?

SGCLI depends on requests for doing internet-ey things and PIL for rendering images.

Did you do a double-take when I said rendering images?

How do I use it?

Like any good command line app, SGCLI is full of obscure keyboard shortcuts that aren't really documented. Here are some of them that work on most pages:

On the search page, enter text and hit ENTER to run the search. Hit ESC to go home.

On pages with data tables, you can navigate using emacs/vim style navigation or the arrow keys:

When you've found a result you like, hit the ENTER key to advance.

Use the number keys to select a specific quantity of tickets you're searching for ('0' for all listings).

When you get to a listing page, you can hit 'b' or 'w' to buy the ticket(s). 'b' will attempt to open the market page in a text-mode browser, while 'w' will use the default browser.

Are there easter eggs?

Of course.

Can I contribute?

Pull requests are welcome.