An open API service indexing awesome lists of open source software.

https://github.com/kwlzn/pystubhub

python bindings to the stubhub api
https://github.com/kwlzn/pystubhub

Last synced: 2 months ago
JSON representation

python bindings to the stubhub api

Awesome Lists containing this project

README

        

pystubhub
=========

python bindings to the stubhub api

features
--------

Supports the following API objects:

- Event
- Genre
- Geo
- Ticket
- Venue

Supports the following methods per object:

- fetch(object_id)
- search_by_name(search_query)
- search(param=val, param2=val)

usage
-----

from stubhub import StubhubClient

stubhub = StubhubClient()

# Fetch Event 12345.
events = stubhub.Event.fetch(12345)

# Search Event objects by name/description.
events = stubhub.Event.search_by_name('chvrches')

# Search Event objects by arbitrary fields.
events = stubhub.Event.search(description='chvrches')

notes, etc
----------

- loosely based on https://github.com/rloomba/stubhub (Ruby)