This commit is contained in:
cube
2026-05-30 18:39:09 +01:00
parent 292de5d130
commit 57a6ebbf35
3 changed files with 131 additions and 1 deletions

11
example.py Normal file
View File

@@ -0,0 +1,11 @@
from pcslive import LiveStats
stats = LiveStats()
if len(stats.races) > 0:
race = stats.races[0]
print("Latest timeline update from", race.title, ":")
race.get_timeline()
print(race.timeline[0])