NotifierClient
install
$> pip install NotifierClient
Use example
from notifier_client import NotifierClient
app_token = "<Token>"
client = NotifierClient(app_token)
res = client.send_notification(
user_token="<USER_TOKEN>",
title="My first notification",
body="message body",
url="https://qwhale.com", # optional
data={"Extra": "data"} # optional {string: string}
)
print(res) # -> {"message": "ok"} or {"message": "Invalid Token."}
Release files for NotifierClient 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| NotifierClient-0.1.2.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| NotifierClient-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / NotifierClient-0.1.2.tar.gz
| Download URL | NotifierClient-0.1.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f6acbab0b59156ed676317b484595df647144ef89d343b93aa2d5628f56419c
|
|
BLAKE2b-256 checksum How to use checksums |
e977e608faf02a8432135ffabd36ec6aedbfd9bf93c9678addb77295bdf683d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / NotifierClient-0.1.2-py3-none-any.whl
| Download URL | NotifierClient-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80a0becdb1d31bbd25c78eec38cf6e4dd8ef15a8a46e3fb22a205d6edc10927f
|
|
BLAKE2b-256 checksum How to use checksums |
3e028d846610db8b04309f6975beed89fa04239d5444371641f71503b7debf33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|