Replies: 2 comments
-
Hey, the issue you're having is that a given constructor will have multiple results per round. (e.g. Hamilton's and Leclerc's). I'd suggest using the races endpoint instead, for example: for ferrari this currently returns 1100, which aligns with wikipedia's number on total races entered. I believe the 1098 (or 1097 value on wikipedia) is rounds where at least one driver starts. We don't have this available as a filter, so to get this number you may need to do some local analysis. However, we'll be sure to take this into account when we create new endpoints later this year. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for responding so quickly. You are doing a really great job with this API. I am making a web page to display data using your API. I will be able to launch it in the future as it is still under maintenance and is part of my final project as a web page developer. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am trying to get the total number of GPS for a driver and a team.
For a driver I use /ergast/f1/drivers/alonso/results.json?limit=1 and I get the total.
But for a team it doesn't seem to work, for example for Ferrari /ergast/f1/constructors/ferrari/results.json?limit=1 the total is 2439 as of today, but when I search on the internet I get another information, Ferrari's total GP is 1098.
I don't understand how I can access this information to get the total number of GPs that a team has made.
Beta Was this translation helpful? Give feedback.
All reactions