Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iracingdataapi-0.0.7.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iracingdataapi-0.0.7-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file iracingdataapi-0.0.7.tar.gz.

File metadata

  • Download URL: iracingdataapi-0.0.7.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for iracingdataapi-0.0.7.tar.gz
Algorithm Hash digest
SHA256 52729a4fc012d0d4f7578097f0c6a62e345b576c76c09c7f7cbc81e64e28a62c
MD5 716823c59854733f9a30c8fe07d3820b
BLAKE2b-256 e6a5d1be5f0ea23a20d5f19b263b2a1a21295a121626ec62716feb0e566c566b

See more details on using hashes here.

File details

Details for the file iracingdataapi-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: iracingdataapi-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for iracingdataapi-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1a5f3900c4d611506da50e0dd78e63b08b1e88600ab2f33e6e6f90b866976029
MD5 ff590644f81ba6fe1276be0d7820f338
BLAKE2b-256 0769d4b0d336652bff2927a85f1694e2613d8b80487ad6e9414a1eb4985ff5a4

See more details on using hashes here.

Release history Release notifications | RSS feed

1.4.4

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.0.8

2 files

This release

0.0.7 This release

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

1 file

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

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