LogSnag API Wrapper
Project description
Installation
pip3 install logsnag
Usage
Import Library
from logsnag import LogSnag
Initialize Client
logsnag = LogSnag('7f568d735724351757637b1dbf108e5', "my-saas")
Publish Event
logsnag.publish(
channel="waitlist",
event="User Joined",
description="Email: john@doe.com",
icon="🎉",
tags={
"email": "john@doe.com",
"user-id": "uid-12"
},
notify=True
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
logsnag-0.1.0.tar.gz
(3.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file logsnag-0.1.0.tar.gz.
File metadata
- Download URL: logsnag-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7878753762aab50ba0d525cb2672c9aba20f9ad732e24d3abd32ea3be8103c5e
|
|
| MD5 |
029320aab4b5ca99f5df7d2cbbbefc41
|
|
| BLAKE2b-256 |
7b7e645d43946e8ba5eb045f940c30d0d49a7edf619b2bd79fcac56e7714f902
|
File details
Details for the file logsnag-0.1.0-py3-none-any.whl.
File metadata
- Download URL: logsnag-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7680fddf84f50f1cc7c3e9d2f6ea565efe01e1d908c46fc7f30954cdb42dbc77
|
|
| MD5 |
b1cb3b295e518c154bc0aaa44ff8c5b4
|
|
| BLAKE2b-256 |
e52aa14b9dd4cfc9fa6b8e3b33789231e7299a6a16f59f4ab5a0dc97b8b5e91f
|