We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e92f1 commit aea8b5aCopy full SHA for aea8b5a
README.md
@@ -1,3 +1,21 @@
1
# autodesk-forge-sdk
2
3
-Unofficial [Autodesk Forge](https://forge.autodesk.com) SDK for Python 3.6 and above.
+Unofficial [Autodesk Forge](https://forge.autodesk.com) SDK for Python 3.* and above.
4
+
5
+## Usage
6
7
+```bash
8
+pip3 install autodesk-forge-sdk
9
+```
10
11
+```python
12
+import os
13
+from autodesk_forge_sdk import AuthenticationClient
14
15
+FORGE_CLIENT_ID = os.environ["FORGE_CLIENT_ID"]
16
+FORGE_CLIENT_SECRET = os.environ["FORGE_CLIENT_SECRET"]
17
18
+client = AuthenticationClient()
19
+auth = client.authenticate(FORGE_CLIENT_ID, FORGE_CLIENT_SECRET, ["viewables:read"])
20
+print(auth["access_token"])
21
0 commit comments