Skip to content

masaar/limp_gateway_unifonic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIMP Gateway for Unifonic

This repo is a LIMP Package for the sole purpose of integrating Unifonic SMS into LIMP apps using LIMP Gateways.

How-to

  1. Clone this repo into your LIMP modules folder.
  2. Add following to your app package config:
'vars':{
	'unifonic':{'sid':'YOUR_UNIFONIC_SID_HERE'}
}
  1. Unifonic gateway requires following args:
    1. phone: Target phone number using international format with prefixed +. Type str.
    2. content: Message body. Type str.
  2. Unifnoic gateway accepts optional arg, namely unifonic_auth, replicating unifonic value in vars Config Attr for dynamic Unifonic API credentials.
  3. Use Unifonic gateway using LIMP Gateway Controller:
from gateway import Gateway

Gateway.send(gateway='unifonic', phone=phone, content=content)

Releases

No releases published

Packages

No packages published

Languages