Python wrapper for eloverblik.dk API.
Project description
pyeloverblik
Python wrapper for eloverblik.dk api.
It can read the following data from eloverblik.
- Hourly data
- Monthy data
- Fees
Installation
Install the library from PyPI: pip install pyeloverblik
.
Usage
After installation either call the library directly with python -m pyeloverblik
or integrate the library in your code like below.
client = Eloverblik(REFRESH_TOKEN)
data = client.get_latest(METERING_POINT)
or
client = Eloverblik(REFRESH_TOKEN)
data = client.get_time_series(METERING_POINT, from_date=datetime.now()-timedelta(days=2), to_date=datetime.now(), aggregation='Hour')
# In above example from_date and to_date is datetime objects.
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
pyeloverblik-0.3.1.tar.gz
(9.2 kB
view hashes)
Built Distribution
Close
Hashes for pyeloverblik-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32fec3568291f48991aaed10f3f1c5b7b3670c29966f5f59b015e1ce15687c28 |
|
MD5 | d44b3b400d561e7986d225317dfed168 |
|
BLAKE2b-256 | 4e6f2adc4f3bdc5b3765a7ebe12ef6fe1c0881994a13eb4642672211076c98d6 |