mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
Add championship hub with derived stats and progression views
New /api/v1/championship/hub endpoint aggregates official standings with wins, podiums, poles, recent form, teammate head-to-head, and per-round cumulative points. ChampionshipPage renders drivers, constructors, and progression views. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -81,6 +81,7 @@ func (s *Server) routes() (http.Handler, error) {
|
||||
mux.HandleFunc("/api/v1/team-radio", s.handleTeamRadio)
|
||||
mux.HandleFunc("/api/v1/championship/drivers", s.handleChampionshipDrivers)
|
||||
mux.HandleFunc("/api/v1/championship/teams", s.handleChampionshipTeams)
|
||||
mux.HandleFunc("/api/v1/championship/hub", s.handleChampionshipHub)
|
||||
mux.HandleFunc("/api/v1/track-outline", s.handleTrackOutline)
|
||||
mux.HandleFunc("/api/v1/strategy", s.handleStrategy)
|
||||
mux.HandleFunc("/api/v1/live/state", s.handleLiveState)
|
||||
|
||||
Reference in New Issue
Block a user