/OpenSUIT

A wrapper around the scratch user indexer

Primary LanguagePythonGNU Lesser General Public License v2.1LGPL-2.1

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'}