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.post6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb52ac503c6b8302a803c5fb8b65a76917cad823a8e2d59137c806da47f1c12d |
|
MD5 | 93cb43bef66828b0fc52613d967e79a4 |
|
BLAKE2b-256 | 20b885e0c49bce79de9a41eb3812d48c714adeb78c415823027d4b691c35e9aa |
Hashes for smsframework_pswin-0.0.1.post6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4ddc84abbeeaa7117c6f04148848f4d89d149cc41c3f20d9ddae853ef8dbdc6 |
|
MD5 | a6324d6df9226d5f33a37c5215894071 |
|
BLAKE2b-256 | b24bfaedbcf87802b1cda316c471c50039b9c322caef1e62c121326468966345 |