The SDK for project-level access to your FangCloudServices account
Project description
FangCloudServicesAPIAccessSDK
The SDK for accessing FangCloudServices with API Access Credentials
Support for more endpoints is coming soon.
Installation
pip install FCSAPIAccess
Usage
Credentials are obtained from the web portal via Project > API Access
. You must be an admin user in order to access this page.
Do not forget to enable the scopes in hte web portal before attempting authentication.
from FCSAPIAccess import FCSAPIAccess, Scope
FCSAPIAccess(client_id, client_secret, [Scope.PROJECT_VIEW_SCOPE, Scope.PROJECT_VIEW_USER])
Or if you only require a single scope:
from FCSAPIAccess import FCSAPIAccess, Scope
FCSAPIAccess(client_id, client_secret, Scope.FULL_ACCESS)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FCSAPIAccessSDK-1.0.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for FCSAPIAccessSDK-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e05d82b93b40f748e9ed083b745a128e6b0f31f3e5a52a65928999be35c7cb |
|
MD5 | 6abf57a1773981aaad2bb0731bd80214 |
|
BLAKE2b-256 | 7ed7803e59c92f41da74ea88a1e9dcd1e24ef5af2b171a204642c3349ba5238b |