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.2.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file FCSAppAccessSDK-1.0.2.tar.gz
.
File metadata
- Download URL: FCSAppAccessSDK-1.0.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a27067e741a463e2bc228a617afd36b3c34efbfe7a1a5b6474bf49176ffd0e58 |
|
MD5 | 7241865569a3438e7951808882f43d46 |
|
BLAKE2b-256 | 165f7de880dec7b1a2850e1fe5a15324585bfe25db7f147b0aab4afcc0de0578 |
File details
Details for the file FCSAppAccessSDK-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: FCSAppAccessSDK-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ea7ad14d420ff83727749762027d0b244db63c6c327a5c08c02ad8853d3387 |
|
MD5 | d3d7bcac0e22f71d892823a2535fd474 |
|
BLAKE2b-256 | 20ed9c7e75d70780d7a5f2e0d6a38f56bcb80930bda0e2b44f447cd794001d4f |