jasondilworth56 / iracingdataapi

A simple wrapper around the iRacing General Data API
https://www.github.com/jasondilworth56/iracingdataapi
MIT License
66 stars 16 forks source link

Heat Races eventlogs #38

Closed AndiSenior closed 2 weeks ago

AndiSenior commented 3 weeks ago

The result_event_log() function provides the simsession_number as an argument. How can I read out the event logs in a heat race, which consists of a heat and a feature race, for example?

jasondilworth56 commented 3 weeks ago

I don't have a subsession to hand, but the simsession_number is 0 for race and then decremented for every session before it – I assume that the heat races are down as simsession_number -1, -2, etc working back towards practice.