some updates from todays racing and functions added for easier timeline use
This commit is contained in:
11
example_latest_timeline.py
Normal file
11
example_latest_timeline.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from pcslive import LiveStats
|
||||
import time
|
||||
|
||||
stats = LiveStats()
|
||||
race = stats.find_race("giro")
|
||||
while True:
|
||||
race.get_timeline()
|
||||
latest = race.timeline_latest()
|
||||
if latest:
|
||||
print(latest)
|
||||
time.sleep(10)
|
||||
Reference in New Issue
Block a user