autodesk-platform-services / aps-3lo-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aps-3lo-python

Minimal sample to obtain 3LO using python

Setup

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:

Thumbnail

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by

Joao Martins in/jpornelas, Developer Advocate

About

License:MIT License


Languages

Language:Python 100.0%