An unofficial Python module for interacting with the City of Saskatoon's SmartUtil service
Project description
city-of-saskatoon-smart-util
An unofficial Python module for interacting with the City of Saskatoon's SmartUtil service.
Features:
- Fetch the meters from your SmartUTIL account
- Fetch the previous 24 hours of data from your SmartUTIL account
Usage
from city_of_saskatoon_smart_util import SmartUtil
su = SmartUtil('username', 'password')
su.login()
meters = su.get_meters()
usage = su.get_past_24_hour_usage(meters[0])
# [{'timestamp': '2022-10-26 21:15', 'value': 0.27}, {'timestamp': '2022-10-26 21:30', 'value': 0.29}, {'timestamp': '2022-10-26 21:45', 'value': 0.29}, ...]
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 city_of_saskatoon_smart_util-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 909da52944ddb1ec91a79924845e2b32ecf8d6c9084c97877feea1a7a81e3ddd |
|
MD5 | 4de7cdd15fcce2d4dc7410a1d794d414 |
|
BLAKE2b-256 | ca1d6762b4cfc21d38651bb2cc82dbce4d517b565238a1ae39ddd6a1d6faf5f6 |
Close
Hashes for city_of_saskatoon_smart_util-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f77708d960d53a440cc6f605bc38a6bdc70216837b34482f6e3e4ac0a103d232 |
|
MD5 | da9757292822be5bb440e45befa60764 |
|
BLAKE2b-256 | 9b203bf4af3a03316c9c7645b0734570ff5d641b51718b215fcd4a82710a302e |