Skip to main content

Comprehensive bindings for the Pushsafer.com notification service

Project description

Pushsafer.com

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", "1", "", "", "")
print(resp)

Params

client.send_message(
                    "Message",
                    "Title",
                    "Device or Device Group ID",
                    "Icon",
                    "Sound",
                    "Vibration",
                    "URL",
                    "URL Title",
                    "Time2Live",
                    "Priority",
                    "Retry",
                    "Expire",
                    "Answer",
                    "Image 1",
                    "Image 2",
                    "Image 3")

API

You can access the full API documentation here.

Contributors

Changes

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

python-pushsafer-1.0.tar.gz (15.4 kB view hashes)

Uploaded source

Built Distribution

python_pushsafer-1.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page