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.post3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea86224fead1acf4d69f309bd757fcc2447b9e074e1d3993758765bef605fc43 |
|
MD5 | 86f81614665cd2387316c613668ea55f |
|
BLAKE2b-256 | 292cb6acff2b72b4970568faf63352111e34170183fc03a309b78ca6c4296c73 |
Hashes for smsframework_pswin-0.0.1.post3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f3ef9d10bdfec98773702c625da0c5c00bb5b1b83ad0eebd3fa88be42b7d8d4 |
|
MD5 | 597742e8606a2a585cb0ce42469dda82 |
|
BLAKE2b-256 | c45812025b66df6e26b8ac9240a95142f01561c11c85f0b66e3f4ded8c04f73b |