Skip to main content

SDK for the Telstra Messaging API

Project description

Telstra Messaging

The SDK for the Telstra messaging API.

Installing

pip install 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")
TLS_CLIENT_KEY="XXXX" TLS_CLIENT_SECRET="YYYY" python app.py

Project details


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.3.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

tls.messaging-0.1.3-py3-none-any.whl (12.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page