Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

FCSAppAccessSDK-1.0.2-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page