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.0rc4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 147add7199b0dc89c753227f7b92e9cb1c07af03fe405d83c014136f14b3e62e |
|
MD5 | b66dfdcf36f88500a5bb2df49eedb8af |
|
BLAKE2b-256 | d4147dab0105f039beb1b069c9747f349e1f2bc4c556148896c9f62a1a0a73fa |
Close
Hashes for python_systemair_saveconnect-3.0.0rc4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b9847c37e0b530e75049fcbb712a61e91c40bc91c8ed115e009293ed56a917 |
|
MD5 | 1ffd6248843ad2ef1fed258d094b5e41 |
|
BLAKE2b-256 | 208597913b49735370621c6aa64f1cd1462a882f269e591d2be8d36f2badeec5 |