# FangCloudServicesAPIAccessSDK
The SDK for accessing FangCloudServices with API Access Credentials
Support for more endpoints is coming soon.
## Installation
```shell
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.
```python
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:
```python
from FCSAPIAccess import FCSAPIAccess, Scope
FCSAPIAccess(client_id, client_secret, Scope.FULL_ACCESS)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/CPSuperstore/FangCloudServicesAPIAccessSDK",
"name": "FCSAPIAccessSDK",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "FANG,CLOUD,SERVICES,FCS,SDK,USER,MANAGEMENT,OAUTH2,SECURITY",
"author": "CPSuperstore",
"author_email": "cpsuperstoreinc@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/1c/c9/68861295d877469baa6736ee04bfa83307b7f75441f61e1f9a0f0353c9ea/FCSAPIAccessSDK-1.2.0.tar.gz",
"platform": null,
"description": "# FangCloudServicesAPIAccessSDK\r\nThe SDK for accessing FangCloudServices with API Access Credentials\r\n\r\nSupport for more endpoints is coming soon.\r\n\r\n## Installation\r\n```shell\r\npip install FCSAPIAccessSDK\r\n```\r\n\r\n## Usage\r\nCredentials are obtained from the web portal via `Project > API Access`. You must be an admin user in order to access this page.\r\n\r\nDo not forget to enable the scopes in the web portal before attempting authentication.\r\n```python\r\nfrom FCSAPIAccess import FCSAPIAccess, Scope\r\n\r\nFCSAPIAccess(client_id, client_secret, [Scope.PROJECT_VIEW_SCOPE, Scope.PROJECT_VIEW_USER])\r\n```\r\n\r\nOr if you only require a single scope:\r\n```python\r\nfrom FCSAPIAccess import FCSAPIAccess, Scope\r\n\r\nFCSAPIAccess(client_id, client_secret, Scope.FULL_ACCESS)\r\n```\r\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "The SDK for project-level access to your FangCloudServices account",
"version": "1.2.0",
"project_urls": {
"Bug Tracker": "https://github.com/CPSuperstore/FangCloudServicesAPIAccessSDK/issues",
"Homepage": "https://github.com/CPSuperstore/FangCloudServicesAPIAccessSDK"
},
"split_keywords": [
"fang",
"cloud",
"services",
"fcs",
"sdk",
"user",
"management",
"oauth2",
"security"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "50893280a80077ea6e07f58ff77582657ebca8400f26f95bace48779e8c7880c",
"md5": "e7f0a36509600e982a00941e7fec34bf",
"sha256": "e94212450f722496f8d80786ef25f814d260a49833a6c62dd6984e427a267618"
},
"downloads": -1,
"filename": "FCSAPIAccessSDK-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e7f0a36509600e982a00941e7fec34bf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 24652,
"upload_time": "2024-01-14T19:55:34",
"upload_time_iso_8601": "2024-01-14T19:55:34.243972Z",
"url": "https://files.pythonhosted.org/packages/50/89/3280a80077ea6e07f58ff77582657ebca8400f26f95bace48779e8c7880c/FCSAPIAccessSDK-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1cc968861295d877469baa6736ee04bfa83307b7f75441f61e1f9a0f0353c9ea",
"md5": "2399ec78682e4577853bb30e9c43043d",
"sha256": "d7084f1880a68beb8fc2957efd254a1f69e94c52f77705aeac02e7bd558969b6"
},
"downloads": -1,
"filename": "FCSAPIAccessSDK-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "2399ec78682e4577853bb30e9c43043d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21067,
"upload_time": "2024-01-14T19:55:36",
"upload_time_iso_8601": "2024-01-14T19:55:36.247228Z",
"url": "https://files.pythonhosted.org/packages/1c/c9/68861295d877469baa6736ee04bfa83307b7f75441f61e1f9a0f0353c9ea/FCSAPIAccessSDK-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-14 19:55:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "CPSuperstore",
"github_project": "FangCloudServicesAPIAccessSDK",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "fcsapiaccesssdk"
}