chevron-up bell reply instagram twitter2 feed3 finder search-25px-p0

OpenSource: Telstra-sms-sdk

2017-06-22

Telstra-sms-sdk 0.0.7

A fully tested Python SDK allow you to send sms in a more easy way!

Current version: 0.0.7 Support Python version: >=python 2.6 (not python3)

Prerequisite

Before you are using this lib, please register an App on Telstra at https://dev.telstra.com/. Their sms will be activated within a fews days. So be patient or you can just call them. ­čÖé


To Install

Method 1: Use pip

pip install telstra-sms-sdk

Highly recommend you to use virtualenv to create your (any) python project.

Method 2: Manually Install

https://pypi.python.org/pypi/telstra-sms-sdk


To Use and Example

from telstra_sms_sdk.sms import TelstraSMS


# CLIENT_IDi and CLIENT_SECRET are strings getting from Telstra app  

ts = TelstraSMS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET)
ts.get_token()
ts.send_sms("0400000000", sms_text="Hi this is unit test")

License

MIT


Contact

Github: https://github.com/arkilis/telstra-sms-sdk

arkilis

Make Your Comments