Comprehensive bindings for the Pushsafer.com notification service
Project description
python-pushsafer aims at providing comprehensive Python bindings for the API of the Pushsafer Notification Service as documented here.
Forked from and original created by: Thibauth https://github.com/Thibauth/python-pushover
Installation
Install from pip:
pip install python-pushsafer
or you can install it directly from GitHub:
git clone https://github.com/appzer/python-pushsafer.git
cd python-pushsafer
pip install .
Overview
from pushsafer import Client
client = Client("<privatekey>")
resp = client.send_message("Message", "Hello", "323", "1", "4", "2", "https://www.pushsafer.com", "Open Pushsafer", "0", "2", "60", "600", "10", "1", "yes|no|maybe", "1", "", "", "")
print(resp)
Params
client.send_message(
"Message",
"Title",
"Device or Device Group ID",
"Icon",
"Sound",
"Vibration",
"URL",
"URL Title",
"Time2Live",
"Priority",
"Retry",
"Expire",
"Confirm",
"Answer",
"AnswerOptions",
"AnswerForce",
"Image 1",
"Image 2",
"Image 3")
API
You can access the full API documentation here.
Contributors
Kevin Siml <info@appzer.de>
John Morris <2e0byo@gmail.com>
Changes
1.1 (2023-03-11)
add new pushsafer parameter answer options, answer force, confirm
1.0 (2021-10-25)
Fix bugs and completely rewrite.
0.4 (2018-08-19)
add new pushsafer parameter priority, retry, expire, answer
0.3 (2017-11-28)
ignore verifying the SSL certficate (trust self signed certificates)
0.2 (2017-02-12)
Add new parameters (url, url title, time2live, image 1-3), minor bugfixes
0.1 (2016-09-13)
Initial Release
Project details
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 python_pushsafer-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833362db904896d9b598b9da12385cf1f4673829bfc8efee3c928d83f88e6f12 |
|
MD5 | 20794e0f8889e98c7940fe077da42934 |
|
BLAKE2b-256 | dd14ae0177b8928a506b1596efe9744a02dd91358491c02e320dae9b495a5297 |