pyracing
pyracing copied to clipboard
Question for everyone: What are some examples of the data you want? The more responses the better!
I think this will be a good approach to writing the documentation; In addition to explaining each class method, it would be helpful to have another page that describes the data that someone might be trying to get for whatever purpose, then we can say which functions would be useful for those scenarios and how to use them.
e.g I want to:
- Get the SoF for every race this season
- See how many champ points each driver was awarded for a race
- Lookup the world records for the last time this series was at this track
In the 'stats' page of a series on the iRacing member site, there is a column for Weeks Counted (see attached screenshot). Is there a data point that returns this value? I was playing with pyracing by trying to emulate going and downloading the CSV file (clicking that 'Output CSV' button) and the Weeks Counted was the only data point I was unable to locate.
Loving this so far. Is there a way to get current hosted sessions and the details about them?
Loving the tool, great job! One thing I can't figure out is how to get season_id when all I know is series_id. I want to look at archival data from the past without having to specify a driver that took part in it or session_id/subsession_id - I don't know these. Am I overlooking something or does this feature not exist?
I am facing a problem with login yet. Regarding this question, I want to see:
- license and iRating separated (Road, Oval, etc)
- Session Data (Avg. laps, number of cautions, session time, etc..
From reading throught the documentation it doesn't appear that we can get the Laps data from race results. I was hoping it was going to be easy to determine how much car contact was going on from season to season, and/or driver to driver, but I don't think it can currently snag that data. If you look at race results each driver has a Laps link that you can click on. This opens a new page that lists lap times and other things. In that page's Comments section for each lap it would list car contact if there was any that lap. Unfortunately it looks like even if you have 5 car contacts in one lap it will only list it once, so you can't get a real count, but any count would be better than no count. I'm not sure you're spending any time on pyracing lately, as the last update was a few years ago, but figured I'll add this comment here anyway.