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.post5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20836c52a43627bb5995057033e11a44ca80aa5ad6e004e2714abc44d788d47a |
|
MD5 | 10eb36b7ce38fdf279da93f0e8848497 |
|
BLAKE2b-256 | 070f3ff569d7d45ebef67f08a7d43d2d4f61d89bea0b176a3c07aaf8c005ab0f |
Hashes for smsframework_pswin-0.0.1.post5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2dd645883578254ff4e4fbd867da8403638527fe4d7dcd58b2f7c77f783e1e7 |
|
MD5 | 75492d9b2e6ff7b12f899b11df815aac |
|
BLAKE2b-256 | df86643a86bb77672ca82763096e6594bbb37f881154bee8922b449322cd48aa |