Official wrapper over the dashlog.app api
Project description
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'}
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
dashlog-0.0.2.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file dashlog-0.0.2.tar.gz
.
File metadata
- Download URL: dashlog-0.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 870d6b9440b33d87c9b4e4e1d07ada6c7bf67581dc46cc7d48e6af942f8e0c5c |
|
MD5 | d2208f8e4436fb0b1c180a652dfb9953 |
|
BLAKE2b-256 | 078415d699b90b5f62dd2d11beda6acafaefc594a378a446b6de2bdaea7845f5 |
File details
Details for the file dashlog-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: dashlog-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b86d06c9deefc6faac48d190e1034231570b5ac00b0c06d22765b886f03c6247 |
|
MD5 | 877d880b08e8214722d40e7056bfa473 |
|
BLAKE2b-256 | 4c0fdb60bfcc0df672c08c6b81dbdafbc77d91327ecfd59e585900c4422d95b1 |