Skip to main content

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


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)

Uploaded Source

Built Distribution

EasyForge-0.0.1-py3-none-any.whl (18.3 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