Welcome to iracing_garage! 🏎️
This is a simple and free Python wrapper around the iRacing API, created for the awesome iRacing community. Whether you're building a tool, analyzing your races, or just love data — this is your pit crew in code form. 😎
🚀 Getting Started
The official documentation can be found here.
1. Install the package 📦
pip install iracing-garage
(Optional: consider installing in a virtual environment)
2. Authentication 🛡️
You'll need to log in with your iRacing email and password (this uses the same method the iRacing web portal does).
from iracing_garage import iRacingGarage
email = 'maxv@gmail.com'
password = 'hotwheels'
iracing = iRacingGarage(email, password)
🔒 This iRacing Garage does not store your credentials. It's all handled securely at runtime.
🔍 What Can You Do?
After logging in, you can access a bunch of data in JSON format from the iRacing API. Here are some examples:
Get Cars 🚗
cars = iracing.car.get()
print(cars)
Get Tracks 🏁
tracks = iracing.track.get()
print(tracks)
Get Driver Stats 📊
cust_id = 123456
driver_data = iracing.stats.summary(cust_id)
print(driver_data)
Get Race Results 🏆
subsession_id = 654321
simsession_number = 0
results = iracing.results.get(subsession_id, simsession_number)
print(results)
Check out the Data Endpoints page for more data points!!
📬 Contact
🏁 Final Lap
Enjoy the ride. 🏎️💨
License
You can check out the full license here
This project is licensed under the terms of the MIT license.
Metadata
Release files for iracing-garage 0.0.6
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 |
|---|---|---|---|---|
| iracing_garage-0.0.6.tar.gz | 11.1 kB | Without provenance | Details for iracing_garage-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iracing_garage-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for iracing_garage-0.0.6-py3-none-any.whl |
Total release size: 28.1 kB
Release files / iracing_garage-0.0.6.tar.gz
| Download URL | iracing_garage-0.0.6.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb11c26c739647bef1791ac97cb4648da9a713fa20445e35b79a4f88db254e74
|
|
BLAKE2b-256 checksum How to use checksums |
5f072393c9a6fe81e972b4da75ed672c52a4605aa2652d4ca1a88cf35385c7b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.15
|
Release files / iracing_garage-0.0.6-py3-none-any.whl
| Download URL | iracing_garage-0.0.6-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dba682d6f5d78f293feb1184972fea04523496617f6ffd3dab2a9b99f53a8136
|
|
BLAKE2b-256 checksum How to use checksums |
cf648e30940f7a6b49cae0371944ff7829a9fd196af3b3162e1b34dc6282c56e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.15
|
Security for iracing-garage 0.0.6
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.