To Make easy to use Forge (APS) by python
Project description
Forge APS
The forge (APS) package is developed to create Forge APS token create/ delete buckets and others.
In this Package the following Forge API:
1.Data Management API
2.Authentication API
3.ModelDerivative API
The Following are sample examples.
Example 1 (To create Authenticate Token):
from forge.Authentication import Authenticate
def GenerateToken():
app_client_id = 'YOUR_FORGE_CLIENT_ID'
app_client_secret = 'YOUR_FORGE_CLIENT_SECRET'
access_token = Authenticate(forge_client_id=app_client_id, forge_client_secret=app_client_secret,authenticate_scopes='viewables:read')
return access_token
Example 2 (To create Bucket):
def createBucket():
app_client_id = 'YOUR_FORGE_CLIENT_ID'
app_client_secret = 'YOUR_FORGE_CLIENT_SECRET'
BUCKET_KEY = 'YOUR_BUCKET_NAME'
bucketCreation = CreateBucket(forge_client_id=app_client_id, forge_client_secret=app_client_secret,bucket_key=BUCKET_KEY)
return bucketCreation
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
Built Distribution
Hashes for EasyForge-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea2469a83cc899645cc9307b596c3780316b5c15ce447e044a0c43212652c9b4 |
|
MD5 | bd6e9062788a372e9cdd6843174e71bb |
|
BLAKE2b-256 | 1cb5312bd413884bacb3698d8f01b78dd96f1cdeeae73a30cc32056af3c427cd |