About
iracing-data-api is a simple Python wrapper around the General Data API released by iRacing in January 2022 and documented here.
The client allows easy access to some of the most useful endpoints of the data API.
Installation
pip install iracingdataapi
Examples
from iracingdataapi.client import irDataClient
idc = irDataClient(username=[YOUR iRACING USERNAME], password=[YOUR iRACING PASSWORD])
# get the summary data of a member
idc.get_member_summary(cust_id=20979)
# get latest results of a member
idc.get_member_recent_races(cust_id=209179)
# get all laps for a specific driver in a race
idc.get_result_lap_data(subsession_id=43720351, cust_id=209179)
All available methods of irDataClient are included in client.py.
Contributing
I welcome all pull requests for improvements or missing endpoints over time as they are added by iRacing.
Changelog
1.0.1
- Adjusted
result_search_seriesto allow searches by date range without using season years and quarters.
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 iracingdataapi-1.0.1.tar.gz.
File metadata
- Download URL: iracingdataapi-1.0.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.1 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7df2b15262f02f449af2d0d747352a93989d61019d07935cd34cac1126cf780
|
|
| MD5 |
366538c6f6810d2f4ec2afceb4bdb2c7
|
|
| BLAKE2b-256 |
6d28a6f77f78524e187000271a494d8540fafa09ca4a4ec6e2fe98479735b757
|
File details
Details for the file iracingdataapi-1.0.1-py3-none-any.whl.
File metadata
- Download URL: iracingdataapi-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.1 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b186b6ae9c608fa8db6f671bcac1a39d60ac2f4f8d10ab28c0c33df897d5bbe5
|
|
| MD5 |
f7f8688882ab30ed68982b8d7c1cbd2b
|
|
| BLAKE2b-256 |
fe9793db8daa8d7f2e50a4bdf0c688032046b5de54477c3232e01c5de3155198
|