datasportsapi
The official Python client for DataSportsAPI, a sports data API: live scores, fixtures, lineups, statistics and standings for 25 sports.
Live API, minimal client. The API answers today (free key: https://datasportsapi.com/signup/). 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_keydefaults toDATASPORTSAPI_API_KEY;base_urltoDATASPORTSAPI_BASE_URL, thenhttps://api.datasportsapi.com.- Python 3.10+.
- Get a key at https://datasportsapi.com/signup/.
MIT licensed. © DataSportsAPI.
Metadata
Release files for datasportsapi 0.0.2
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 |
|---|---|---|---|---|
| datasportsapi-0.0.2.tar.gz | 3.4 kB | With provenance | Details for datasportsapi-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datasportsapi-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for datasportsapi-0.0.2-py3-none-any.whl |
Total release size: 7.6 kB
Release files / datasportsapi-0.0.2.tar.gz
| Download URL | datasportsapi-0.0.2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bbe2058824a47d7ad39095b72a1325d8b8c115b118f3d985e218d8e3af9d791
|
|
BLAKE2b-256 checksum How to use checksums |
592c88c94d53ab45dae0571064f707029f50d11115955a0b81cae53545905ce8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 22, 2026.
Transparency logRelease files / datasportsapi-0.0.2-py3-none-any.whl
| Download URL | datasportsapi-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40e563a02c52a48d90fc2b2e1d9fd8591455410324c72ce14dc37a6111a32ce4
|
|
BLAKE2b-256 checksum How to use checksums |
9004f86f25a1053dc4e80c2ad82eacd4f685826306e2a4f8ddce9d9b5aeb1aad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 22, 2026.
Transparency logSecurity for datasportsapi 0.0.2
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 datasportsapi-0.0.2.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 Nov 22, 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.