SDK for the Telstra Messaging API
Project description
Telstra Messaging
The SDK for the Telstra messaging API.
Installing
pip install tls.messaging
Getting Started
Set the TLS_CLIENT_KEY
and TLS_CLIENT_SECRET
environment variables. These
are the Client key
and Client secret
you can find here:
https://dev.telstra.com/user/me/apps.
To send your first SMS:
from tls.messaging import sms
sms.send(to="+61412345678", body="Hi")
To set the required environment variables if your application is in app.py
:
TLS_CLIENT_KEY="XXXX" TLS_CLIENT_SECRET="YYYY" python app.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tls.messaging-0.1.4.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for tls.messaging-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1dab442e528eabdaf97121b94e40092657503d216700cc837536261e281042a |
|
MD5 | aae42689b11354d53f284f38c37e0f94 |
|
BLAKE2b-256 | 07674103300cd0223b8fc51265d0168b245ca2a6d01c6f404da456f6be42d5b1 |