Installation

1

Install 'libmagic' system package.

You can skip this step if you already have this package installed in your system.

# if you are using linux / debian based systems
sudo apt install libmagic

# If you are using macOS
brew install libmagic
2

Install 'suprsend-py-sdk' using pip

$ pip install suprsend-py-sdk

# to upgrade to latest SDK version

$ pip install suprsend-py-sdk --upgrade

Python version 3.7 or later is required

If your python3 version is lower than 3.7, upgrade it.

Initialization

For initializing SDK, you need workspace_key and workspace_secret. You will get both the tokens from your Suprsend dashboard (Developers -> API Keys).

from suprsend import Suprsend
# Initialize SDK
supr_client = Suprsend("WORKSPACE KEY", "WORKSPACE SECRET")