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
- Host: GitHub
- URL: https://github.com/kwlzn/pystubhub
- Owner: kwlzn
- Created: 2014-08-25T08:06:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-25T09:17:32.000Z (over 10 years ago)
- Last Synced: 2024-12-28T21:18:38.540Z (4 months ago)
- Language: Python
- Size: 176 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pystubhub
=========python bindings to the stubhub api
features
--------Supports the following API objects:
- Event
- Genre
- Geo
- Ticket
- VenueSupports 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)