I am a wasteof.money user!
Hi
Try scratchconnect! A python library to connect Scratch API and get the statistics! Go here https://pypi.org/project/scratchconnect/