Metadata-Version: 2.2
Name: pyeloverblik
Version: 0.4.3
Summary: Python wrapper for eloverblik.dk API.
Home-page: https://github.com/JonasPed/pyeloverblik
Author: Jonas Pedersen
Author-email: jonas@pedersen.ninja
License: Apache 2.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.32.3
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: summary

# 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.

```python3

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.

```

