Thames-Water
pip install thameswaterclient
Thames water API client, login with:
from thameswaterclient import ThamesWater
email = 'myname@provider.com'
password = '**********'
account_number = 123456789
thames_water = ThamesWater(email=email, password=password, account_number=account_number)
You can then retrieve your hourly data and convert it into a pandas series
from thameswaterclient import meter_usage_lines_to_timeseries
meter = 123456789
start = datetime.date(2024, 10, 1)
end = datetime.date(2024, 12, 31)
meter_usage = thames_water.get_meter_usage(meter, start, end)
s_readings = meter_usage_lines_to_timeseries(start, end, meter_usage.Lines)
Metadata
Release files for thameswaterclient 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| thameswaterclient-0.1.5.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| thameswaterclient-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / thameswaterclient-0.1.5.tar.gz
| Download URL | thameswaterclient-0.1.5.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b77b17716a7475293f94feb8dd077f319fa8e5c7555994e6adaa5d0519cd7c62
|
|
BLAKE2b-256 checksum How to use checksums |
868a89e4fef2ef7c929ae9b181ff12e75c9f29117acc876e19135628c426525a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
|
Release files / thameswaterclient-0.1.5-py3-none-any.whl
| Download URL | thameswaterclient-0.1.5-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c5b8aac5659e4beeaf48f63563b862147dcee3452c133aec558298e88f6157d
|
|
BLAKE2b-256 checksum How to use checksums |
06b9f98efc028a96a1a7a79fc703503b6790fb524ebe9241a60445cac4316225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
|