Official Python SDK for SeatData API
Project description
SeatData Python SDK
Official Python SDK for SeatData API - access ticket sales data, event listings, and search functionality.
Installation
pip install seatdata-sdk
Quick Start
from seatdata import SeatDataClient
# Initialize client with your API key
client = SeatDataClient(api_key="your_64_char_api_key")
# Search for events
events = client.search_events(
venue_name="Madison Square Garden",
venue_city="New York"
)
# Get sales data for an event
sales_data = client.get_sales_data(event_id="1234567")
# Get current listings
listings = client.get_listings(event_id="1234567")
# Submit async event request (v0.2.0+)
result = client.event_request_add(search_query="Taylor Swift")
job_id = result["job_id"]
# Check job status
status = client.event_request_status(job_id=job_id)
print(f"Status: {status['status']}")
API Key
Contact support@seatdata.io to obtain an API key.
Development
# Clone the repository
git clone https://github.com/SeatDataIO/python-sdk.git
cd python-sdk
# Install development dependencies
pip install -r requirements.txt
# Run tests
pytest
# Run integration tests (requires API key)
export SEATDATA_API_KEY="your_api_key"
pytest -m integration
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
seatdata_sdk-0.2.0.tar.gz
(7.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seatdata_sdk-0.2.0.tar.gz.
File metadata
- Download URL: seatdata_sdk-0.2.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18125877e56aaed954e14a1bad09099c9afb9212ef94e285b64a00de54411423
|
|
| MD5 |
76574895150f68e52f5914a2342e78f4
|
|
| BLAKE2b-256 |
9aec4eb9860719c85dc90d540d67e498ef04b8312983743a28e975414a8bdaa7
|
File details
Details for the file seatdata_sdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: seatdata_sdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c705c7a9d9c35612659426ade1f3465667c115b8170fde12a8e4e9f3908ed895
|
|
| MD5 |
d478dd1cead281040516c596fb225306
|
|
| BLAKE2b-256 |
30bf5e8d19a8c3c2ed8018ca4ea3bac2d841e20a813705bd5490ba12c17b2f82
|