Skip to main content

No project description provided

Project description

DAB Live! api

A simple Python client to obtain information about your connected pump and enable power shower.

Installation

Just use pip to install this module

pip3 install dab-live-api

[!NOTE] On Windows you should use pip instead of pip3

How to use

Just instantiate the class DAB, it supports three optional parameters:

  • email: your DAB Live! email
  • psw: your DAB Live! password
  • should_save_token: a boolean to save token for future sessions (the default one lasts one year) or generate a new one each execution (default True).

If you prefer to set credentials after the class instantiation, just use the set_credentials method, in this case it accepts two arguments:

  • email
  • psw

To get data for each of your installations you can use request_installation_data, it accepts an optional parameter, installation_id, to obtain data only for a pump.

[!IMPORTANT] Give a look to the init to better understand how it works

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

dab_live_api-0.0.2.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dab_live_api-0.0.2-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file dab_live_api-0.0.2.tar.gz.

File metadata

  • Download URL: dab_live_api-0.0.2.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for dab_live_api-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f0cae56006ec4973c1775fdbc06ffb75e922afefff23c9863405fac420bafeb1
MD5 3873e8cf0f981286a04470d5d03d9130
BLAKE2b-256 a5e606e9e32707c8a118e3290bdfe9370b06172f29edc3fcc6e5f3eedd2b82c2

See more details on using hashes here.

File details

Details for the file dab_live_api-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dab_live_api-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for dab_live_api-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6fa0cd8ccf100ad94ac39422383837ed9fc0dd018f3b78afdf7c729652b71b0
MD5 b295b42f79f70be7ed677f964e2958b6
BLAKE2b-256 f5edb4104acb907ba9293d9b101225ee5f6a3c972a9f85a2b0dd74a8770a7893

See more details on using hashes here.

Supported by

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