Skip to main content

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-here>')

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 - optionnal
        'username': '@johndoe',          # Values can be
        'email': 'john.doe@dashlog.app'  # strings,
        'age': 32,                       # 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


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.1.tar.gz (6.5 MB view details)

Uploaded Source

Built Distribution

dashlog-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file dashlog-0.0.1.tar.gz.

File metadata

  • Download URL: dashlog-0.0.1.tar.gz
  • Upload date:
  • Size: 6.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dashlog-0.0.1.tar.gz
Algorithm Hash digest
SHA256 622589bd9a8e589152b3d7dc408447ed6cc52d4807fb2abac13f59d11f25a72a
MD5 2b730f9c4487efcd18ce69895e06224e
BLAKE2b-256 202f39b8b780eb5dcc6f0c9e4f4c3d3510b9aec310735bb6bf8d6456103155a4

See more details on using hashes here.

File details

Details for the file dashlog-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dashlog-0.0.1-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

Hashes for dashlog-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2f9b7de2c75a5d6d679596de9e003eb6ea8cf3ce340b29ebc701d1ce9ab1486
MD5 5b5680b49e76d9fd49fb457c83553b9c
BLAKE2b-256 b2cb4c54fe235263777cc1c7e8ad6e01bccdceae4b8439e4dbca210945271fba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page