Skip to main content

Official Python SDK for SeatData API

Project description

SeatData Python SDK

PyPI version Tests Python Support License: MIT

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']}")

# Download daily event CSV (v0.3.0+)
csv_content = client.download_daily_csv()  # Latest available
csv_content = client.download_daily_csv(date="20251225")  # Specific date

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.3.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seatdata_sdk-0.3.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file seatdata_sdk-0.3.0.tar.gz.

File metadata

  • Download URL: seatdata_sdk-0.3.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for seatdata_sdk-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4768624f7be56527ceb20d485d6851697fc1335d717f03afa67abacf74c77dc2
MD5 1ac600ef7819361fcab11a8f6e46c369
BLAKE2b-256 b6ad81b9463ee2393faa2ffe4cfd0f8f3f8d95386fd82647d4912df87b9e6958

See more details on using hashes here.

File details

Details for the file seatdata_sdk-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: seatdata_sdk-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for seatdata_sdk-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 384df5067df8e3de058f5e0606b4f659b53e73e1851b047eecbfe98e5b718fe7
MD5 6428a73789522f51930ca6a60b7ad8d8
BLAKE2b-256 b777aec280c4450484801c0e6092004ea70392957c744b82c4a74f58e3f746d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page