Simple python package to work with the API of Barry Energy. The API documentation can be found here.
Please be aware that this project is NOT offical.
pip3 install barry-energy-api
Get from mobile app under "Add-ons" -> "Barry API"
- Import the package
from barry_energy_api import PriceZone, BarryEnergyAPI
- Initialize the API
api = BarryEnergyAPI('api-token', 5, PriceZone.DK_EAST)
- Get aggregated consumption for the last 5 days as defined when API was initialized.
api.consumption()
- Get prices from the last two days.
api.spotprices(2)
👤 Emil Elkjær Nielsen
- Website: https://evsn.dk
- Github: @eelkjaer
- LinkedIn: @emil-elkjær
Package setup @Frankkkkk
Give a ⭐️ if this project helped you!
Copyright © 2021 Emil Elkjær Nielsen
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator