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.post9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cbea32eabb9fcef8a659c89651e015f88499a7e6afd35f5e6cb582240aec060 |
|
MD5 | 1d52cec89ba8937f6220d829600be9c0 |
|
BLAKE2b-256 | cf273d81aff00ba39958a174c24bf035c185910dacede8d212bbd0002010a87b |
Hashes for smsframework_pswin-0.0.1.post9-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e6122d1f06b816ee544d52f8eb4c38ba3c0c0de254da894869369c813f4a9b7 |
|
MD5 | 2363dfcaed46d03dbc1b410191f9b164 |
|
BLAKE2b-256 | c02a4beb3642e17de78e0fca487ed2836ef114bf35fb7310fb0ebf6ed38e678c |