An open API service indexing awesome lists of open source software.

https://github.com/appzer/python-pushsafer

Comprehensive bindings and command line utility for the Pushsafer.com notification service
https://github.com/appzer/python-pushsafer

android desktop ios ipad iphone phone push pushnotification pushnotifications pushsafer python win10 windows

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

.. image:: https://www.pushsafer.com/de/assets/logos/logo.png
:alt: Pushsafer.com
:width: 100%
:align: center

``python-pushsafer`` aims at providing comprehensive Python bindings for the API
of the `Pushsafer Notification Service`_ as documented here__.

.. _Pushsafer Notification Service: https://www.pushsafer.com/
.. __: https://www.pushsafer.com/en/pushapi

Forked from and original created by: Thibauth https://github.com/Thibauth/python-pushover

Installation
------------

Install from pip:

.. code-block::
bash

pip install python-pushsafer

or you can install it directly from GitHub_:

.. code-block::
bash

git clone https://github.com/appzer/python-pushsafer.git
cd python-pushsafer
pip install .

.. _GitHub: https://github.com/appzer/python-pushsafer

Overview
--------

.. code-block::
python

from pushsafer import Client

client = Client("")
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
------
.. code-block::
python

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__.

.. __: https://www.pushsafer.com/en/pushapi