from pcslive import LiveStats import time stats = LiveStats() # if there are live races... if len(stats.races) > 0: race = stats.races[0] race.get_situation_long() # whats the situation? :) for x in race.situation_long: print(x, race.situation_long[x])