You can interact with the API through HTTP requests from any language or via our official Python bindings (alpha)

Authentication

Make sure to follow the previous steps described in Authentication to obtain an API key and account ID.

SGP API

Connect to our API via:

BASE_URL = https://api.egp.scale.com

Installing the SGP SDK Client

To install the ScaleGP Python client, run the following command:

Python
pip install scale-gp

Now, we can use our API Key to create a SGP client. Examples on how to use the SGP client can be found in Recipes

Python
from scale_gp import SGPClient

client = SGPClient(api_key=api_key)

⚠️ The Scale GP Python client is under active development, and many of the features in this document rely on the latest versions.

To make sure you have the latest version, run pip install scale-gp --upgrade.