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 391455b commit 80dc2d4Copy full SHA for 80dc2d4
README.md
@@ -58,10 +58,13 @@ import flat_api
58
from flat_api.rest import ApiException
59
from pprint import pprint
60
61
-# Configure OAuth2 access token for authorization: OAuth2
62
-flat_api.configuration.access_token = 'YOUR_ACCESS_TOKEN'
+configuration = flat_api.Configuration()
+# Configure your personal access token or OAuth2 access token
63
+configuration.access_token = 'YOUR_ACCESS_TOKEN'
64
+flat_api_client = flat_api.ApiClient(configuration)
65
+
66
# create an instance of the API class
-api_instance = flat_api.AccountApi()
67
+api_instance = flat_api.AccountApi(flat_api_client)
68
69
try:
70
# Get current user profile
0 commit comments