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.0rc6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9d5d0052c191e137a140fb291ebc5bfce8e8c13819e4a85864d6a45612c565 |
|
MD5 | 1522753e981a2713b2c40dbd92267609 |
|
BLAKE2b-256 | e45e7d96a64e2cca13aead1be39fed8b748114dc80c16ea7d3067cbc59844ada |
Close
Hashes for python_systemair_saveconnect-3.0.0rc6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d991f8d112cecbee0d934f3fff1f1523bb9055aaac42f75c5da6299fd8d95365 |
|
MD5 | 674a04386efdf1b325d315e32e345f15 |
|
BLAKE2b-256 | c5f116b3a3bf72bd6259f7cc0760d9738484232f232ea5165b3afeca6d7f54b9 |