Skip to content

Latest commit

 

History

History

rest_quickstart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

REST quickstart

Blocking calls through the generated REST client. Prints the backend version, who you are, your hubs and shockers, and the shockers shared with you.

pip install -r requirements.txt
export OPENSHOCK_API_TOKEN=your-api-token
python main.py

Set OPENSHOCK_API_URL as well to use a self-hosted instance.