Flask app to serve F1 season and Race details along with images comparing driver lap times and more. Some responses will be taken directly from Ergast, while the images with telemetry data will be processed from the FastF1 python library.
GET /race-schedule/<year>
Parameter | Type | Description |
---|---|---|
year |
int |
Year for desired race schedule. |
GET /fastest-laps/line-graph
Parameter | Type | Description |
---|---|---|
x |
string |
Field for x-axis: Speed , RPM , nGear , Throttle , Brake , DRS , Distance , Time . |
y |
string |
Field for y-axis: Speed , RPM , nGear , Throttle , Brake , DRS , Distance , Time . |
gp |
string |
Name of the circuit. |
year |
int |
Year of the F1 Season. |
drivers |
list[str] |
Comma-separated(,) list of drivers to compare. Use driver code in block letters |
Contributions are always welcome!
See contributing.md
for ways to get started.