Ecoflow API Library
Project description
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()
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
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 teamlead_pw_ecoflow-0.2.5.tar.gz.
File metadata
- Download URL: teamlead_pw_ecoflow-0.2.5.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba97cda345db5620ce6c35c3c8c4c2dee7391216601781905fe91eadee7fa27a
|
|
| MD5 |
41815cbdf4d539f7d6e68e745814e860
|
|
| BLAKE2b-256 |
a9a16c5f43eb0ecfcc9e76f08cc64197cb4b9fc66a9c2a8996a0d65cb0f10357
|
File details
Details for the file teamlead_pw_ecoflow-0.2.5-py3-none-any.whl.
File metadata
- Download URL: teamlead_pw_ecoflow-0.2.5-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c74801e0b8e5fbd7c58315c8d8ace4bb39646f93a0a9011b684c45e7c52908c
|
|
| MD5 |
821bc3bae8bab910fe2ecd0955b74b47
|
|
| BLAKE2b-256 |
4b0beb2eec51305e1db1aec163a4e2a3646b30866abc88ff9198acdc5c2d113d
|