can now get the situation diagram from the race stats page

This commit is contained in:
cube
2026-05-30 19:46:32 +01:00
parent 452a2572fa
commit db3449fcea
3 changed files with 54 additions and 2 deletions

View File

@@ -37,3 +37,11 @@ stats = LiveStats()
stats.print_races()
```
# examples
`example.py` posts the latest timeline of one current race (checking every 10 seconds for updates)
`example2.py` organises the situation diagram in a dictionary of timegap keys to a list of riders in that group. it could probably be organised better but it works