LogSnag API Wrapper
Project description
Installation
pip3 install logsnag
Usage
Import Library
from logsnag import LogSnag
Initialize Client
logsnag = LogSnag(token='7f568d735724351757637b1dbf108e5', project="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
)
Publish Insight
logsnag.insight(
title='User Count',
value=100,
icon='👨',
)
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.4.tar.gz
(4.1 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.4.tar.gz.
File metadata
- Download URL: logsnag-0.1.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4df15546c9f6a1db8a9f2083d865d7e803c3580b982c04be0c48712e6ca61638
|
|
| MD5 |
901b022543b6cf3517c47671a43eca0c
|
|
| BLAKE2b-256 |
3652c6352a7002e4008b4839ecf96f8242da76dee7e97c080806a920dfd8435e
|
File details
Details for the file logsnag-0.1.4-py3-none-any.whl.
File metadata
- Download URL: logsnag-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91fc2d303b318fe65b6efd3a59733231ff6a5c75bedf3f73bee6361027cd38b9
|
|
| MD5 |
d4e62fdeef4f0679b9ee9155ba3bee66
|
|
| BLAKE2b-256 |
c18e1b53dd8a27d12f824fd0201c0e0d1e226a5822cd5fb009e3d28e4b3d1eeb
|