Minimal sample to obtain 3LO using python
Replace the configuration variables in the .env file with your own:
CLIENT_ID=''
CLIENT_SECRET=''
CALLBACK_URL='http://localhost:8080/api/auth/callback'
SCOPES='data:read viewables:read'
install flask and requests in your environment:
pip install flask
pip install requests
pip install python-dotenv
Run the app:
python app.py
Then go to localhost:8080
in your browser and login with your Autodesk account:
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.
Joao Martins in/jpornelas, Developer Advocate