Using smsw-python-sdk with thesmsworks.co.uk

Python integration

✓ Official SDK

Install

pip install smsw-python-sdk

Quick start

import smsw-python-sdk

# Set your API key
client = smsw_python_sdk.Client(api_key="YOUR_API_KEY")
Returns the customer ID to the caller
curl \
  -H "Authorization: $API_KEY" \
  /utils/test
Retrieve all messages in a batch with the given batch ID
curl \
  -H "Authorization: $API_KEY" \
  /batch/{batchid}
Returns the number of credits currently available on the account
curl \
  -H "Authorization: $API_KEY" \
  /credits/balance
SDK on GitHub 📄 API Docs
SDK
smsw-python-sdk
Python
API
thesmsworks.co.uk
thesmsworks.co.uk

At a glance

Language Python
Endpoints18
✓ Official