sms_simple is a pluggable django app that will support multiple sms gateways.
to run this app you will need to have installed python2 and django1.1+
NB This app is still in development so make sure you keep checking for more updates
-
run
pip install AfricastalkingGatewaythen. -
git clone https://github.com/gr1d99/sms_simple.gitinto your project or anywhere but make sure you copy it to your project directory. -
add
sms_simpleto your projectINSTALLED_APPS. -
sync your db.
-
open django admin site and add your AfricasTalking
usernameandapikey -
Add some of the numbers you know in
AfricasTalkingTestReceiversmodel. -
That is it!!, now all you need is to run
python manage.py shell -
to send messages just run the code snippet below
from sms_simple.api import africastalking_gateway as afg # call the send() function >>> afg.send()