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.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6380314c9fc7a078e93369d4e54a23e25e00fab166b0df3dceaf56bbda3fbbb |
|
MD5 | 419d877e7db00ad1689d03f159ea5b31 |
|
BLAKE2b-256 | edef5700b0f10f6467683e798d5e799afdedbf9c713b23436139cf80d2859574 |
Close
Hashes for python_systemair_saveconnect-3.0.0rc1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346016636fa95fbf03ce4ceb83fa73a59d3c4f63282a194c2b49594431860ad6 |
|
MD5 | 4e702a3ace6756e8770ff13857169e18 |
|
BLAKE2b-256 | b9fe1c6375afc760771aa9c5d489772753698f8e98870615b0ab544c0ce4d08b |