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
EasyForge-0.0.1.tar.gz
(17.0 kB
view hashes)
Built Distribution
EasyForge-0.0.1-py3-none-any.whl
(18.3 kB
view hashes)
Close
Hashes for EasyForge-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 301db726cdbab29758f17029801d60fcfcc87baff37665199fe2d640a0c40ca5 |
|
MD5 | feea7d310ff2c44ff20decfb47bf981a |
|
BLAKE2b-256 | bd590c135c6570d31e4b72cc0b87e8cd6ca23623bb9609a975501ee80fe95efa |