SphereMall Gateway Python SDK
Official Python SDK for integrating with SphereMall Product. Official documentation
Version 0.8.7
Supported microservices
- Gateway 1.*
- Products 2.*
- Users 1.*
- Grapher 1.*
Installation
Step 1 (Not necessary). Create virtual environment:
python3 -m venv myvenv
myvenv\Scripts\activate
Step 2: Install Python-MS-SDK
pip3 install Python-MS-SDK
For update to new version
pip3 install --upgrade Python-MS-SDK
Step: 3: Import the package
from ms_sdk import Client
Instantiating the SDK Client:
Pass in the configuration to the client:
client = Client({
'gatewayUrl': 'API_GATEWAY_URL',
'clientId': 'API_CLIENT_ID',
'secretKey': 'API_SECRET_KEY'
})