A python interface for the SaveConnect API
Project description
python-systemair-saveconnect
This is a simple package that expose the SaveConnect API as a python module.
Installation
pip install python-systemair-saveconnect
Example
from systemair.saveconnect import SaveConnect
email = ""
password = ""
sc = SaveConnect(
email=email,
password=password,
ws_enabled=True,
update_interval=60,
refresh_token_interval=300
)
# Authenticate
if not await sc.login():
raise RuntimeError("Could not connect to systemAIR")
# Refresh Token
await sc.auth.refresh_token()
devices = await sc.get_devices()
device_0 = devices[0]["identifier"]
device_0_data = await sc.read_data(device_id=device_0)
Version History
3.0.0 - Updated to work with SaveConnect
1.0.0 - Initial Version
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
Close
Hashes for python-systemair-saveconnect-3.0.0rc7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef78ab21323c2b39f82724b5379292420c12aab4cc946ff7b1ffecadeb417d07 |
|
MD5 | 08cc55d2036b5c53b127d567dee172a0 |
|
BLAKE2b-256 | d7801c364fd0397013891f0b2d255d563fe75dc2258d863327af9b6f32bad7f1 |
Close
Hashes for python_systemair_saveconnect-3.0.0rc7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cc1136b1fb9b0f07e8501046875e21b2615ac7bfdbdf45d9f088d632685319b |
|
MD5 | ab5f7e508187bef00029b250f1a858e3 |
|
BLAKE2b-256 | 196a2bb78909b4359b1355163320a172c0d3d39edacee6375493d7fe856e11d0 |