Skip to content

What information is only available from Ergast #618

Answered by theOehrly
Casper-Guo asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Casper-Guo
Comment options

@theOehrly
Comment options

@Casper-Guo
Comment options

Answer selected by Casper-Guo
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