This repo is a LIMP Package for the sole purpose of integrating Unifonic SMS into LIMP apps using LIMP Gateways.
- Clone this repo into your LIMP
modules
folder. - Add following to your app package config:
'vars':{
'unifonic':{'sid':'YOUR_UNIFONIC_SID_HERE'}
}
- Unifonic gateway requires following args:
phone
: Target phone number using international format with prefixed+
. Typestr
.content
: Message body. Typestr
.
- Unifnoic gateway accepts optional arg, namely
unifonic_auth
, replicatingunifonic
value invars Config Attr
for dynamic Unifonic API credentials. - Use Unifonic gateway using LIMP Gateway Controller:
from gateway import Gateway
Gateway.send(gateway='unifonic', phone=phone, content=content)