/ir_webstats

iRacing python client interface to access drivers and series stats and results.

Primary LanguagePython

iRWebStats

You can use this class to send requests to iRacing service and get some valuable data like stats, race results, driver info, series info, etc. it requires valid login credentials (username and password) to access the service.

USAGE

from client import iRWebStats
irw = iRWebStats()
irw.login('username', 'password')
print (irw.cars_driven())  # cars driven by user

Check examples.py for more examples

FILES

  • client.py : This is where the main class is defined.
  • examples.py : Some examples.
  • constants.py : Useful constants used in request fields sent to the service.
  • util.py : Helper functions.
  • shell.py: A command line interface for the client.

REQUIREMENTS

Python 2.7+ or 3+ (with network access)