-
Install python:
- Go to python website
- Download latest python installer
- Start installer and check "Add Python 3.x to PATH"
- Select default installation
- Once installed, click on "Disable path length limit"
- For more details, see how to use python on windows
-
Install osc-cli:
- Start a Windows cmd prompt
- run
pip install --upgrade pip
- run
pip install osc-sdk
-
Setup your credentials:
- As you are in your cmd prompt, you should see
C:\Users\YOUR_USER>
- type
mkdir .osc
- In Windows Explorer, go to
C:\Users\YOUR_USER\.osc
- Import
config.json
in that folder (be sure to name the fileconfig.json
and notconfig.json.txt
) - Edit
config.json
and setup your credentials
- As you are in your cmd prompt, you should see
-
Run osc-cli:
- Open a Windows cmd prompt
- You should now be able to run
osc-cli
(e.g.osc-cli api ReadVolumes
)