Skip to main content

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 FCSAPIAccessSDK

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 the 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.2.0.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

FCSAPIAccessSDK-1.2.0-py3-none-any.whl (24.7 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