2015-03-24 19:34:18 +00:00
|
|
|
THIS IS
|
2021-09-02 15:33:39 +00:00
|
|
|
A Python 3 wrapper around the SMS gateway from CPSMS <https://www.cpsms.dk/>.
|
2011-11-21 22:23:30 +00:00
|
|
|
|
2015-03-24 19:34:18 +00:00
|
|
|
THIS IS NOT
|
2011-11-21 22:23:30 +00:00
|
|
|
Some sort of magic, free SMS gateway.
|
|
|
|
|
2015-03-24 19:34:18 +00:00
|
|
|
INSTALLATION
|
|
|
|
cpsms is available from PyPI <https://pypi.python.org/pypi/cpsms>.
|
|
|
|
Easiest way to install is: `pip install cpsms`.
|
|
|
|
|
|
|
|
REQUIREMENTS
|
2011-11-21 22:23:30 +00:00
|
|
|
You need to have a (paid) account at CPSMS to be able to use their gateway.
|
|
|
|
They sell a fair, no-nonsense product which I'd recommend if you want to be
|
|
|
|
able to send SMS from your code (primarily to Danish phones).
|
|
|
|
|
2015-03-24 19:34:18 +00:00
|
|
|
HOW TO USE
|
2011-11-21 22:23:30 +00:00
|
|
|
See a couple of example use cases in example.py that should have come
|
|
|
|
along with this file. Apart from what is shown in examples.py, this also
|
|
|
|
supports status callback URLs, delayed sending and flash messages.
|
|
|
|
|
2015-03-24 19:34:18 +00:00
|
|
|
FURTHER INFO
|
2011-11-21 22:23:30 +00:00
|
|
|
For more info on parameters, take a look at the API documentation found at:
|
|
|
|
<https://www.cpsms.dk/login/index.php?page=dokumentation>.
|
|
|
|
|
|
|
|
I believe the gateway software running at the CPSMS server is some sort of
|
|
|
|
standard product. This may be able to talk to other remote SMS gateways as
|
|
|
|
well, and that's why I made it an option to specify another gateway base
|
|
|
|
URL. If you know of any other compatible gateways, please let me know, and
|
|
|
|
I'll list them in the README.
|