Dashlog
Official wrapper over the dashlog.app api
pip install dashlog
from dashlog import Dashlog
dash = Dashlog('<YOUR-API-KEY>')
response = dash.log(
project='MyProject', # string - required
channel='Users', # string - required
title='New User', # string - required
description='John Doe created an account', # string - optionnal
data={ # dict[str, str | int | float | boolean] - optionnal
'email': 'john.doe@dashlog.app' # Values can be
'username': '@johndoe', # strings,
'age': 29, # numbers,
'premium': True # or booleans
}
notify=True, # boolean - optionnal - send log by email if True
)
print(response.status) # 200
print(response.json()) # {'status': 200, 'message': 'log added successfully'}
Release files for dashlog 0.0.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 | |
|---|---|---|---|
| dashlog-0.0.2.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dashlog-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / dashlog-0.0.2.tar.gz
| Download URL | dashlog-0.0.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
870d6b9440b33d87c9b4e4e1d07ada6c7bf67581dc46cc7d48e6af942f8e0c5c
|
|
BLAKE2b-256 checksum How to use checksums |
078415d699b90b5f62dd2d11beda6acafaefc594a378a446b6de2bdaea7845f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / dashlog-0.0.2-py3-none-any.whl
| Download URL | dashlog-0.0.2-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b86d06c9deefc6faac48d190e1034231570b5ac00b0c06d22765b886f03c6247
|
|
BLAKE2b-256 checksum How to use checksums |
4c0fdb60bfcc0df672c08c6b81dbdafbc77d91327ecfd59e585900c4422d95b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|