Skip to content

michaeleldar/OpenSUIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenSUIT

An open source alternative to SUIT. Find out a Scratch user ID or username from the command line.

Download

Download OpenSUIT from the releases tab and make sure you have Python 3.7 or higher installed.

Usage

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.

Output

{username}: {ID} e.g griffpatch: 1882674

Programmatic usage

import opensuit

out = opensuit.fetch("griffpatch", no_cache=False)
# no_cache defaults to True

print(out)

Output:

{'Error': False, 'ID': '1882674', 'Username': 'griffpatch'}