- Python 3.7.3 (backwards compatible with 2.7)
- pip
- Sandbox Clover developer account
From the Sandbox developer dashboard, create a Clover web app. When creating the app, select the permissions that you want the OAuth token to have.
- On the app's Settings page, note App ID and App Secret. Set them as
CLIENT_IDandCLIENT_SECRETinconfig.py. - Under Web Configuration, set Site URL to
http://localhost:3000.
Run:
pip install -r requirements.txtpython oauth.py
In your web browser, open http://localhost:3000/.