teamlead.pw.ecoflow
Versions
teamlead.pw.ecoflow uses a modified version of Semantic Versioning for all changes.
Supported Python Versions
This library supports the following Python implementations:
- Python 3.10
- Python 3.11
Installation
Install from PyPi using pip, a package manager for Python.
pip3 install teamlead.pw.ecoflow
# or
poetry add git+https://github.com/antongorodezkiy/ecoflow-api
Usage
API Credentials
The Ecoflow client needs your Ecoflow API credentials. You can obtain access_key and secret_key on the page https://developer-eu.ecoflow.com/us/security and then pass these directly to the constructor.
Make a Call
from teamlead.pw.ecoflow.api import EcoflowApi
access_key = '123'
secret_key = '456'
api = EcoflowApi(access_key = access_key, secret_key = secret_key)
api.set_logger(log)
response = api.get_mqtt_certification()
print(response)
Enable Debug Logging
Log the API request and response data to the default or custom logger:
api.debug_requests_on()
Release files for teamlead.pw.ecoflow 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| teamlead_pw_ecoflow-0.3.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| teamlead_pw_ecoflow-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / teamlead_pw_ecoflow-0.3.0.tar.gz
| Download URL | teamlead_pw_ecoflow-0.3.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0affbff925222f11161cb6e026a3d243e31be5b9a96c9a8a81ca6a2b8f9d2d74
|
|
BLAKE2b-256 checksum How to use checksums |
8321734b17b1f7fd11e0dd5d678ed48630fb458ee5c7ae4bd16d62eb82cb7c2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / teamlead_pw_ecoflow-0.3.0-py3-none-any.whl
| Download URL | teamlead_pw_ecoflow-0.3.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
419d1ad1716b7345cadd5b426cd0b2afc97a30763601b46d430c00ba6f58e93e
|
|
BLAKE2b-256 checksum How to use checksums |
61992e52e50f136a2124cf9f6d3bc75ae822e418a2beb9f4429f9ed20ec5745c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|