appzer / python-pushsafer

Comprehensive bindings and command line utility for the Pushsafer.com notification service

Home Page:https://www.pushsafer.com

Repository from Github https://github.comappzer/python-pushsaferRepository from Github https://github.comappzer/python-pushsafer

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", "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.

About

Comprehensive bindings and command line utility for the Pushsafer.com notification service

https://www.pushsafer.com

License:GNU General Public License v3.0


Languages

Language:Python 100.0%