SDK
Using SWE SDK
SWE's SDK is a standard Python package that simplifies the integration with SWE and streams data to the SWE platform.
Python SDK Reference Guide
You can find more information about each function and method in our Python SDK reference guide.
Pre-requisites
- Minimum Python version supported by the recent SDK is 3.8 and above
- pydantic < 2
Installation
pip install superwise-api
Environment variables
There are 2 environment variables used to identify and authenticate your connection:
SUPERWISE_CLIENT_ID
SUPERWISE_CLIENT_SECRET
Read here more on how to generate them.
import os
from superwise_api.superwise_client import SuperwiseClient
os.environ['SUPERWISE_CLIENT_ID'] = 'REPLACE_WITH_YOUR_CLIENT'
os.environ['SUPERWISE_CLIENT_SECRET'] = 'REPLACE_WITH_YOUR_SECRET'
sw = SuperwiseClient()
You're all set to begin working with our SDK! Dive into the SDK documentation to discover more and enhance your experience.
Updated 5 months ago
Whatβs Next