Python client for istaConnect
Project description
# pyconnect-ista Python client for istaConnect.
## Installation
pip install pyconnect-ista
Example
import asyncio
from pyconnect_ista import IstaConnectClient
async def main():
client = IstaConnectClient()
try:
await client.login(
"email@example.com",
"password"
)
data = await client.latest_consumption()
print(data)
finally:
await client.close()
asyncio.run(main())
Available methods
await client.latest_consumption()
await client.heat_month()
await client.heat_day()
await client.hot_water_month()
await client.hot_water_day()
await client.cold_water_month()
await client.cold_water_day()
await client.rooms()
await client.meters()
await client.property_average()
Project structure
pyconnect_ista/
__init__.py
const.py
exceptions.py
models.py
utils.py
oauth.py
keycloak.py
auth.py
api.py
client.py
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
pyconnect_ista-1.0.1.tar.gz
(9.3 kB
view details)
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 pyconnect_ista-1.0.1.tar.gz.
File metadata
- Download URL: pyconnect_ista-1.0.1.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c057d327c71d48de5d24615eaa447a031b29e2684188dbc245242f10c13efd3
|
|
| MD5 |
ef9580f069eafe57213dffef2be98c65
|
|
| BLAKE2b-256 |
1a0fcb307922bc935c69cca98ed7e3e30e8280a21c9dc973c28e9979422f9dcd
|
File details
Details for the file pyconnect_ista-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pyconnect_ista-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8925f22ed2e96468b03a011d8be4b9841148ac0ea07ce4a285ff984e36e923d7
|
|
| MD5 |
223ad864e15924ce0c214608ed0673e2
|
|
| BLAKE2b-256 |
0cd05aa2f6d9dff13d7ad56d8063a4dfb24c658bd98c17ceb147f71c73978c11
|