Metadata-Version: 2.1
Name: barry-energy-api
Version: 1.0.0
Summary: Connecting to and getting data from Barry Energy's API (http://barry.energy)
Home-page: https://github.com/eelkjaer/BarryAPIClient
Author: Emil Elkjær Nielsen
Author-email: emil@evsn.dk
License: LICENS
Description: <h1 align="center">Welcome to Barry Energy API Client 👋</h1>
        <p>
          <img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" />
          <a href="LICENSE" target="_blank">
            <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
          </a>
        </p>
        
        > Simple python package to work with the API of Barry Energy. 
        > The API documentation can be found [here](https://developer.barry.energy).
        
        > Please be aware that this project is <u>NOT</u> offical.
        
        ## Install
        
        ```sh
        pip3 install barry-energy-api
        ```
        
        ## Usage
        
        #### Get your API Token
        ```sh
        Get from mobile app under "Add-ons" -> "Barry API"
        ```
        <br>
        
        1. Import the package
        ```python
        from barry_energy_api import PriceZone, BarryEnergyAPI
        ```
        2. Initialize the API
        ```python
        api = BarryEnergyAPI('api-token', 5, PriceZone.DK_EAST)
        ```
        3. Get aggregated consumption for the last 5 days as defined when API was initialized.
        ```python
        api.consumption()
        ```
        4. Get prices from the last two days.
        ##### Notice that methode has overloading
        ```python
        api.spotprices(2)
        ```
        
        
        ## Author
        
        👤 **Emil Elkjær Nielsen**
        
        * Website: https://evsn.dk
        * Github: [@eelkjaer](https://github.com/eelkjaer)
        * LinkedIn: [@emil-elkjær](https://linkedin.com/in/emil-elkjær)
        
        ## Show your support
        
        Give a ⭐️ if this project helped you!
        
        ## 📝 License
        
        Copyright © 2021 [Emil Elkjær Nielsen](https://github.com/eelkjaer) <br />
        This project is [MIT](LICENSE) licensed.
        
        ***
        _This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
Keywords: python barry energy api electricity prices barry.energy
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
