A Python library for Race Monitor
Project description
race-monitor-py
A Python library for Race Monitor
Requirements
- Python 3.10 or later
- A Race Monitor API token — obtainable from your account at race-monitor.com
Installation
pip install race-monitor
Or with uv:
uv add race-monitor
Quick Start
Sync
from race_monitor import RaceMonitorClient
# All methods return parsed JSON as Python dicts.
with RaceMonitorClient(api_token="YOUR_TOKEN") as client:
race = client.race.details(race_id=12345)
print(race["Race"]["Name"])
if client.race.is_live(race_id=12345)["IsLive"]:
session = client.live.get_session(race_id=12345)
# work with session data — see API docs for field names
Async
import asyncio
from race_monitor import AsyncRaceMonitorClient
async def main():
async with AsyncRaceMonitorClient(api_token="YOUR_TOKEN") as client:
race = await client.race.details(race_id=12345)
print(race["Race"]["Name"])
asyncio.run(main())
API Namespaces
All endpoints are grouped into namespaces, accessible as client.<namespace>:
| Namespace | Description |
|---|---|
account |
Races associated with your relaying account |
common |
Reference data: app sections, race types, series |
live |
Real-time timing data: session, competitors, lap times |
race |
Race details and live status |
results |
Post-race results and competitor details |
Documentation
- Full library API reference: https://wot-lemons.github.io/race-monitor-py
- Race Monitor API: https://www.race-monitor.com/APIDocs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 race_monitor-0.2.0.tar.gz.
File metadata
- Download URL: race_monitor-0.2.0.tar.gz
- Upload date:
- Size: 40.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e7894b64d8c1160119590a95f36ca5b64fa5586e9060c7286d4eac302c1d9cb
|
|
| MD5 |
dd9af35bf1e7773c182619f667a1d2af
|
|
| BLAKE2b-256 |
4afeb37dcbac3ecf2145f9755bf6fe7d9d206f8a431dc3cadbc957285684082e
|
Provenance
The following attestation bundles were made for race_monitor-0.2.0.tar.gz:
Publisher:
release-please.yml on WOT-Lemons/race-monitor-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
race_monitor-0.2.0.tar.gz -
Subject digest:
2e7894b64d8c1160119590a95f36ca5b64fa5586e9060c7286d4eac302c1d9cb - Sigstore transparency entry: 1498491719
- Sigstore integration time:
-
Permalink:
WOT-Lemons/race-monitor-py@0fc13c0472f0c713959dae59a4f42fd14ef24e06 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/WOT-Lemons
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@0fc13c0472f0c713959dae59a4f42fd14ef24e06 -
Trigger Event:
push
-
Statement type:
File details
Details for the file race_monitor-0.2.0-py3-none-any.whl.
File metadata
- Download URL: race_monitor-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57d0780f2c1bfca3a2079c0144b23d39fa062d79f847c8315bf2b4a23b71d3f2
|
|
| MD5 |
c913b1064f3190988e1a84baf47094c0
|
|
| BLAKE2b-256 |
f8b812ce56fbc37235b0de995dab9177672eb7eff92ab76086781dad037ab330
|
Provenance
The following attestation bundles were made for race_monitor-0.2.0-py3-none-any.whl:
Publisher:
release-please.yml on WOT-Lemons/race-monitor-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
race_monitor-0.2.0-py3-none-any.whl -
Subject digest:
57d0780f2c1bfca3a2079c0144b23d39fa062d79f847c8315bf2b4a23b71d3f2 - Sigstore transparency entry: 1498491792
- Sigstore integration time:
-
Permalink:
WOT-Lemons/race-monitor-py@0fc13c0472f0c713959dae59a4f42fd14ef24e06 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/WOT-Lemons
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@0fc13c0472f0c713959dae59a4f42fd14ef24e06 -
Trigger Event:
push
-
Statement type: