Skip to main content

datasportsapi

The official Python client for DataSportsAPI, a sports data API: live scores, fixtures, lineups, statistics and standings for 24 sports.

Pre-release. The API opens at launch; until then requests do not get an answer. This 0.0.x release is a minimal client: one authenticated get() with typed errors and no dependencies. The full SDK (a typed method for every endpoint, paging, retries, asyncio and the WebSocket stream) arrives with 0.1. Docs: https://datasportsapi.com/docs/sdks/

pip install datasportsapi
from datasportsapi import DataSportsAPI, DataSportsAPIError

client = DataSportsAPI()  # reads DATASPORTSAPI_API_KEY

try:
    res = client.get("/v2/livescores", sport="football")
    print(res["data"])
except DataSportsAPIError as e:
    print(e.status, e.code, e.retry_after)
  • api_key defaults to DATASPORTSAPI_API_KEY; base_url to DATASPORTSAPI_BASE_URL, then https://api.datasportsapi.com.
  • Python 3.10+.
  • Get a key at https://datasportsapi.com/signup/.

MIT licensed. © Noventra Software Ltd.

Metadata

Release files for datasportsapi 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasportsapi 0.0.1
File Size Uploaded Provenance Actions
datasportsapi-0.0.1.tar.gz 3.6 kB Without provenance Details for datasportsapi-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasportsapi 0.0.1
File Interpreter ABI Platform Actions
datasportsapi-0.0.1-py3-none-any.whl Python 3 none any Details for datasportsapi-0.0.1-py3-none-any.whl

Total release size: 7.8 kB

Release files / datasportsapi-0.0.1.tar.gz

Download URL datasportsapi-0.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f93e46e30466f629bb936a27a35a64231d9e8ba11265b6d79254ebbb35fbe3ef
BLAKE2b-256 checksum
How to use checksums
48ed479c11459d82e207bfedeb9aa6e96371add9a1a54a22a09048f72afa53ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / datasportsapi-0.0.1-py3-none-any.whl

Download URL datasportsapi-0.0.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2784f6ac75e39f419194753794b311a3d486f6a73dceb3a66172f633c1dd239
BLAKE2b-256 checksum
How to use checksums
98cd46b64f665dfe8c2017813dbeb6050927b9eb49d16ceadd727c7c43de46cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for datasportsapi 0.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page