project stat viewer

by bafh
See Code Download Embed
The project stat viewer allows you to take a look at a Scratch project's details by project ID.
The left arrow key goes to the previous project, the right arrow key goes to the next project, the 'R' key goes to a random project, and the 'U' key loads the creator's info.
Normally, the 'url' block won't work outside of 'Snap!' sites because of CORS being built in most sites. Using a CORS proxy, this can be altered so that you can access the site's code.
What my code does is read the info of something from the Scratch API, which is converted from a json to a list. The program then get specific items of the list to display the info.
There are 3 reporter blocks you can use to make this much easier.
BUGS AND PROBLEMS:
If too long, the text won't go to the next line and will just cut off.
When getting info from a site for the first time, it may take a few minutes to display the info.

121022 Update:
Fixed small project reading bug. Added the ability to go to the project selected (Requires JS extensions turned on)

200822 Update:
Fixed project search
Added sounds

For my Scratch projects, go to https://scratch.mit.edu/users/bafh/

Created June 16, 2022

Last updated February 8, 2023

Published June 17, 2022