What information is only available from Ergast #618
-
For sessions where F1API is available (2018 onwards), what are we sourcing from Ergast and not available otherwise? Trying to figure out what I need to handle when Ergast is down. Specifically, sometimes session results seem to contain incorrect finishing positions. Was wondering if that's ergast related. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The logic behind that has a lot of conditions but mostly:
I think that should be all. |
Beta Was this translation helpful? Give feedback.
The logic behind that has a lot of conditions but mostly:
'Abbreviation', 'FirstName', 'LastName', 'TeamName', 'FullName', 'DriverNumber', 'BroadcastName', 'TeamColor', 'CountryCode', 'HeadshotUrl' are taken from the livetiming api
Ergast-specific 'DriverId' and 'TeamId', 'DriverNumber' (as reference for merging data), 'Position', 'ClassifiedPosition', 'GridPosition', 'Status', 'Points', 'Time', 'Q1', 'Q2', 'Q3' are taken from Ergast
Special case, if a driver did not start (DNS), 'Abbreviation', 'FirstName', 'LastName', 'TeamName', 'FullName', 'DriverNumber' are taken from Ergast as well, because the F1 livetiming API does not list those drivers
There is a fallback where 'Position…