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", "#FF0000", "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",
                    "Color",
                    "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

Changes

1.2 (2026-01-05)

add pushsafer parameter icon color

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

python_pushsafer-1.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_pushsafer-1.2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file python_pushsafer-1.2.tar.gz.

File metadata

  • Download URL: python_pushsafer-1.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.8.0 urllib3/1.26.15 tqdm/4.19.4 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.3

File hashes

Hashes for python_pushsafer-1.2.tar.gz
Algorithm Hash digest
SHA256 bae3b73f12c7615a9de300e64bed983b85f2371d7df558e363028105e19b6ffe
MD5 5408c4df389722550055d737415e85f0
BLAKE2b-256 a7668841f1e608be54a5c5a9f118f486434fe5966977b3681694c29a1b1834fb

See more details on using hashes here.

File details

Details for the file python_pushsafer-1.2-py3-none-any.whl.

File metadata

  • Download URL: python_pushsafer-1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.8.0 urllib3/1.26.15 tqdm/4.19.4 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.3

File hashes

Hashes for python_pushsafer-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d36360ef8ab84218ac53c5c8efc7aa7b590a1aec4197b8f7d4c2b84d6619ea92
MD5 c2dfe12c637f6092a4f2dc68bdd5ba85
BLAKE2b-256 4353a0138db563ed7e55bb65e3763d65cc27af879fd5c3994501f51251b932a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page