Skip to content

Flask app to serve F1 season and Race details along with images comparing driver lap times and more.

License

Notifications You must be signed in to change notification settings

cybercoder-naj/DebriefServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debrief Server

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.

Screenshots

LEC vs RUS Bahrain 22 Quali

API Reference

Get Race Schedule

  GET /race-schedule/<year>
Parameter Type Description
year int Year for desired race schedule.

Get Line Graph Image for Fastest Laps

  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

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

License

MIT

Authors

About

Flask app to serve F1 season and Race details along with images comparing driver lap times and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages