Users Scratch Statistics

by thebits
See Code Download Embed
Based on DatOneLefty (on Scratch)'s ScratchDB API, as well as part of the Scratch API, this project fetches stats from the Scratch website, scratch.mit.edu.

If you get a "notfound" error while fetching a user's stats, this usually means they do not exist. Try making sure that their username is correct.

Some of the information might be inaccurate because the data is not updated. That's a problem on ScratchDB's end, not mine's.

All data is wiped after the data is printed on your screen, to ensure privacy.

Thank you to DatOneLefty on Scratch for the ScratchDB API, Scratch for the Scratch API, and World_Languages on Scratch for the inspiration of this project.
Thanks to Jeffalo on Scratch for the lowercase style.
Thanks to CORS Anywhere (cors-anywhere.herokuapp.com) for the CORS proxy for the Scratch API.
Oh, and also Scratch for making this all possible.

Scratch is a project of the Scratch Foundation, in collaboration with the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at https://scratch.mit.edu .

Created October 23, 2020

Last updated October 25, 2020

Published October 24, 2020