A package to talk to the VattenFall InCharge API's
Project description
Vattenfall InCharge
Python implementation of the Vattenfall InCharge API
Usage
from incharge.api import InCharge
api = InCharge(<username>, <password>)
#Get a list of stations
stations = api.get_stations().json()
print(stations)
#Get total consumption data for one station
data = api.get_station_consumption(<station_name>).json()
print(data[0]['total'])
Description
This package currently supports
api.get_stations()
Get list of stations.
api.get_station_consumption(station_name, since_date)
Get consumption of a single station based on its name.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
incharge-1.0.3.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file incharge-1.0.3.tar.gz
.
File metadata
- Download URL: incharge-1.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77f837868ea819ae9d4422ad071141ef7f82786d652e333133b983c8dfab82e3 |
|
MD5 | 5d72be033c9d42b113dee3f456e81556 |
|
BLAKE2b-256 | 7575386867cabcad38597f057797696dbf76113159cc97b2cabd55aa0b8b336a |
File details
Details for the file incharge-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: incharge-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96b11840c76fa95f87b5430503d3134eae91050b3c6f1d36e9605f10d8200b17 |
|
MD5 | d90b3e260c31566d87d4c369b5574524 |
|
BLAKE2b-256 | 28bb3636d3c06adc45ff1faa9ffaca8d54507d37fd27c1e99e776040324591cc |