SMS framework: PSWin provider
Project description
SMSframework PSWinCom Provider
PSWin Provider for smsframework.
Installation
Install from pypi:
$ pip install smsframework_pswin
To receive SMS messages, you need to ensure that Flask microframework is also installed:
$ pip install smsframework_pswin[receiver]
Initialization
from smsframework import Gateway
from smsframework_pswin import PswinProvider
gateway = Gateway()
gateway.add_provider('pswin', PswinProvider,
user='dignio',
password='123',
https=True
)
Config
Source: /smsframework_pswin/provider.py
user: str: Account username
password: str: Account password
https: bool: Use HTTPS for outgoing messages? Default: False
Receivers
Source: /smsframework_pswin/receiver.py
Message Receiver: /im
Login to https://accountweb.pswin.com/ using your account details and edit the section “Mobile Originated (MO) messages forwarding configuration”
Protocol: HTTP Value: <protocol>://<server-name>/<provider-name>/im
Status Receiver: /status
Login to https://accountweb.pswin.com/ using your account details and edit the section “Delivery Reports (DR) forwarding configuration”
Protocol: HTTP Value: <protocol>://<server-name>/<provider-name>/status
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for smsframework-pswin-0.0.1.post7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22cf2258327ccf1d417d643dac64446795c45d75e5d7b06b431e09fae9eff011 |
|
MD5 | 8cb6d9ae4a39024af232c5a9c216d890 |
|
BLAKE2b-256 | 0ecc50906295115aa57b7f8cb1b0e4abb4c3c88ee5cdfc72d01397a782e82516 |
Hashes for smsframework_pswin-0.0.1.post7-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c12acece62d06975a138dc04694d6630ae2a3843d60240ced042ddd22ce2554 |
|
MD5 | 1f4c3c7451a12b7f4ee5dc2a8ba26120 |
|
BLAKE2b-256 | a9e0318fcaefd751f6ea7fe3db2388d0e222486956c7b256eee978c43ee0a985 |