Skip to content

Get certain information from the results #91

Answered by theOehrly
AshleyJTM asked this question in Q&A
Discussion options

You must be logged in to vote

Each item in Session.results is a dictionary. Therefore, you can just use the usual way of getting values from a dictionary.
For example, to get the driver code: race.results[0]['Driver']['code']

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by theOehrly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #82 on January 16, 2022 18:05.