Skip to main content

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


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

pyeloverblik-0.4.2-py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page