HanG321 Blog

Telstra SMS API, python and git

Yesterday I read about Telstra provides their SMS API for 1000 SMS free per month, so today I spent some time to play with it. One of the use case is Synology DSM to send alert notification if any warning message happened. Well, installing the DS Finder app would be easier, but hey, just wanna try something out.

Telstra API already provided their shellscript version in their API doc, and somebody have been developed on php/powershell/node.js. Since DSM native support python, I chose it and remind me my last python programming is 10 yeasrs ago in uni.

python script is easy to implement in couple of hours, yet the shellscript to init was quite troublesome.

At the end, I created my first open source project. Check out https://github.com/hang321/synology-telstra-sms and Telstra API for details.

 

other implementation:

powershell: http://pastebin.com/nmE5847n
node.js: https://github.com/mzbac/sms
ruby: https://github.com/hexinpeter/AnonymousSMS