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
pipinstead ofpip3
How to use
Just instantiate the class DAB, it supports three optional parameters:
email: your DAB Live! emailpsw: your DAB Live! passwordshould_save_token: a boolean to save token for future sessions (the default one lasts one year) or generate a new one each execution (defaultTrue).
If you prefer to set credentials after the class instantiation, just use the set_credentials method, in this case it accepts two arguments:
emailpsw
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
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0cae56006ec4973c1775fdbc06ffb75e922afefff23c9863405fac420bafeb1
|
|
| MD5 |
3873e8cf0f981286a04470d5d03d9130
|
|
| BLAKE2b-256 |
a5e606e9e32707c8a118e3290bdfe9370b06172f29edc3fcc6e5f3eedd2b82c2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6fa0cd8ccf100ad94ac39422383837ed9fc0dd018f3b78afdf7c729652b71b0
|
|
| MD5 |
b295b42f79f70be7ed677f964e2958b6
|
|
| BLAKE2b-256 |
f5edb4104acb907ba9293d9b101225ee5f6a3c972a9f85a2b0dd74a8770a7893
|