stadar — Python SDK for the Stadar esports API
Official Python client. Pip-installable. Type-hinted. Generated from
the public OpenAPI 3.1 spec — see
stadar.net/docs/api for the full
reference and clients/README.md in the
monorepo for the codegen
posture.
pip install stadar
Quick start
from stadar import Client
# Reads $STADAR_API_KEY from env, with $STADAR_API_URL override.
client = Client.from_env()
# Or pass explicitly:
client = Client(api_key="esp_live_...", base_url="https://api.stadar.net")
matches = client.matches.list(game="cs2", status="live")
for m in matches.data:
print(m.id, m.team_a.slug, "vs", m.team_b.slug)
Sandbox
# `esp_test_`-prefixed keys auto-route to the sandbox fixture set.
# `meta.sandbox: true` flags every response from the sandbox.
client = Client(api_key="esp_test_...")
Webhooks
from stadar.webhooks import verify_signature
@app.post("/stadar-webhook")
def handle(request):
body = request.body # raw bytes
signature = request.headers["X-Stadar-Signature"]
if not verify_signature(body, signature, secret="your-webhook-secret"):
return 401
event = parse_event(body)
# ... handle event
See stadar.net/docs/webhooks for the signature verification recipe.
License
MIT. Source of truth is the OpenAPI spec; regeneration is part of every spec change.
Metadata
Release files for stadar 0.1.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stadar-0.1.26.tar.gz | 84.4 kB | With provenance | Details for stadar-0.1.26.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stadar-0.1.26-py3-none-any.whl | Python 3 | none | any | Details for stadar-0.1.26-py3-none-any.whl |
Total release size: 352.9 kB
Release files / stadar-0.1.26.tar.gz
| Download URL | stadar-0.1.26.tar.gz |
|---|---|
| Size | 84.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d4b2b89fdfac42fd1b5a5d8de45a9063ebbb41ce13c45f4a92d19b66328bce8
|
|
BLAKE2b-256 checksum How to use checksums |
c574f6a634b361b3a2515b93457a7e2d20cf1c93168ea540cba7424edea8b75d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logRelease files / stadar-0.1.26-py3-none-any.whl
| Download URL | stadar-0.1.26-py3-none-any.whl |
|---|---|
| Size | 268.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af66991bd408ae24cfc2b47ff956411ca80ea48f23f41c9cbe14d2e2c8a44a46
|
|
BLAKE2b-256 checksum How to use checksums |
bbadb85db3d686f44f1e8f17ed3c334e8e586701fe47743481c28c8264140866
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logSecurity for stadar 0.1.26
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for stadar-0.1.26.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.