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.3.tar.gz
(4.0 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.3.tar.gz.
File metadata
- Download URL: logsnag-0.1.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e9e33743582dc02bdf648a3093515e9faf2ed5d12217d120678bdb4fb12c388
|
|
| MD5 |
577caaabb540273109c4cd01a6eeeaca
|
|
| BLAKE2b-256 |
d521ebfafa7d1f231fa3dd818db512d9786d2cc5b4b9f7d09ccf3ec8fd18c672
|
File details
Details for the file logsnag-0.1.3-py3-none-any.whl.
File metadata
- Download URL: logsnag-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.9 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 |
cb0cac78f5b6fac5ff7a1fc8157abee21200124a23bf516166fce5ad1fc826d1
|
|
| MD5 |
5185c580999bcfeadddd0ffe2d48a587
|
|
| BLAKE2b-256 |
97e2f105218ee702362eaa72774031a00a0d10b3c5039f800742fdfa981f24f6
|