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.2.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d07f3dd87d227b3ffc61b8d31727f7cd1cf64c0f4a23daa6d148de2d4018e83 |
|
MD5 | 3a3b71b201cb69b028fc9fe873f1252f |
|
BLAKE2b-256 | fe663a0137029a999138ab02af7975d4e97145ddf3f5a8fb827dba3d5d7ddb8c |
Hashes for smsframework_pswin-0.0.2.post1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 168968635933abc270547ce5d3494174dae22fc8b788177477f8ff8a9d480087 |
|
MD5 | 810e06420b04eac58286184831bdc09d |
|
BLAKE2b-256 | 9a816498e0990e4baed8ca4c755f506b2aa5d6b6912fc92e82da5891e8def3c9 |