Skip to content

Conversation

@Forest239
Copy link

  • Added timeout parameter to the Client, so it can be defined when instance is created instead of being hardcoded to 10 seconds.
    This was necessary because, especially when using driver_stats() as this may take more than 10 seconds.

Example
To set it to 30 seconds
ir = Client(IRACING_USERNAME, IRACING_PASSWORD, 30.0)

  • Added car_name to the Subsession Driver object, not sure why it wasn't there.
    I tried going the long way around it first, by getting the car class, iterate and find a match from the car_id, and this works for older seasons, but not the newer ones.

However it car_name seems to be present in GetSubsessionResults for old and new sessions.

@Forest239 Forest239 changed the title Added some a few things Added a few things Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant