The SDK for accessing FangCloudServices with Application Access Credentials
Project description
FangCloudServicesAppAccessSDK
The SDK for accessing FangCloudServices with Application Access Credentials
Support for device code auth is coming soon.
Installation
pip install FCSAppAccessSDK
Usage
Credentials are obtained from the web portal via Project > Applications
. You must be an admin user in order to access this page.
Do not forget to enable the scopes in the web portal before attempting authentication.
from FCSAppAccess import FCSAppAccess
FCSAppAccess(client_id, client_secret, ["notifi:notif:pub", "bsg:command:dequeue"])
Or if you only require a single scope:
from FCSAppAccess import FCSAppAccess
FCSAppAccess(client_id, client_secret, "*:*:*")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FCSAppAccessSDK-1.0.1.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for FCSAppAccessSDK-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2efc02396a57eb45b8d9ce03e16013b7c8f5849d43e5d699c9dd123d7a4e50e8 |
|
MD5 | b30903048dcea17e24ff4d123c8f892d |
|
BLAKE2b-256 | 830f1233d548c22420cefe1259751b3b5766a2098da8fc9149b12b237b9e5408 |