Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
/ smslist Public archive

A demo app written in Python utilising the messagingAPI to send to a curated list of mobile numbers

License

Notifications You must be signed in to change notification settings

telstra/smslist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMSList demo

Requirements

  • Python 2.7
  • Valid and active client_id and client_secret from Dev.Telstra.com

Installation & Usage

pip install -r requirements.txt

Open app.py and update the following on lines 14 and 15 of app.py using the keys obtained from Dev.Telstra.com

client_id = 'client_id in here'
client_secret = 'client_secret in here'

Once the app is ready to go youll need a publicly available url, open the base url in a browser which will create the provision subscription and set a mobile number for the app creds.

By default the notify_url is set as the base url that you open the site root at, if you change the baseurl just open the root site again and it will update. This can be changed at line 27 of app.py

Running the demo

Once dependencies have been handled run the following

python app.py 

or via pm2

pm2 start app.py

About

A demo app written in Python utilising the messagingAPI to send to a curated list of mobile numbers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages