ayaya
This commit is contained in:
11
example.py
Normal file
11
example.py
Normal 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])
|
||||
Reference in New Issue
Block a user