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.0rc9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a94ec5bec0ed2d5c0c80cd9907f325cd5976d0d0fd01b0e2c7508173c0d21139 |
|
MD5 | 3974c8186928a8deca86e95e566303da |
|
BLAKE2b-256 | 1fb2f61e4c7e9975bdbc9158865af77fdc9c6f7e361555f87ce18d4ba4dc849c |
Close
Hashes for python_systemair_saveconnect-3.0.0rc9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bccfafb3cdf9b323363104266f4164f77ec5b78a4fb40e379299946229bd9bcf |
|
MD5 | 0516591f8c9184d0adcbf69ce60a4636 |
|
BLAKE2b-256 | 69fd5591b3572484d4a505691bcfe8d5fbecc4c677643727e3430b52a399e21a |