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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pyeloverblik-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: pyeloverblik-0.4.2-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea5b6b4d53045a81d62366eae64fa1ab504bf45b9a4e0eefb9bdeb8cfccde2e0 |
|
MD5 | 113b275454a8af44090597944b515983 |
|
BLAKE2b-256 | 2d2391c8b21ce492b48b475c471e83f721af29e3a1733c38aaaac2a7ff79cba8 |