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

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

python-pushsafer-1.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file python-pushsafer-1.1.tar.gz.

File metadata

  • Download URL: python-pushsafer-1.1.tar.gz
  • Upload date:
  • Size: 15.4 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.1.tar.gz
Algorithm Hash digest
SHA256 a0f92e9118c1a0d50f90968dbcfc67c80d034fc787155b893cff7316f0827864
MD5 e1d8ae024c63b4c9a38f1728423cfde7
BLAKE2b-256 c42b48f0aa735f3c614377ac6bac0a83681f429ecc02fb74e530bcfa8bf11e72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_pushsafer-1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 833362db904896d9b598b9da12385cf1f4673829bfc8efee3c928d83f88e6f12
MD5 20794e0f8889e98c7940fe077da42934
BLAKE2b-256 dd14ae0177b8928a506b1596efe9744a02dd91358491c02e320dae9b495a5297

See more details on using hashes here.

Supported by

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