An open source alternative to SUIT. Find out a Scratch user ID or username from the command line.
Download OpenSUIT from the releases tab and make sure you have Python 3.7 or higher installed.
Run python3 opensuit.py
. You can specify the username or ID as an argument, like python3 opensuit.py -u griffpatch
.
OpenSUIT also caches user data by default by putting responses in suit_cache.json
. You can disable this behavior by adding --no-cache
.
You can find more information about arguments with python3 opensuit.py --help
.
{username}: {ID}
e.g griffpatch: 1882674
import opensuit
out = opensuit.fetch("griffpatch", no_cache=False)
# no_cache defaults to True
print(out)
Output:
{'Error': False, 'ID': '1882674', 'Username': 'griffpatch'}