Metadata-Version: 2.1
Name: myenergi
Version: 0.0.1
Summary: A small package to work with MyEnergi API
Home-page: https://github.com/skywatcher-uk/myenergi
Author: Skywatcher
Author-email: integrations@skywatcher.uk
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: requests

# MyEnergi

A small library to work with the MyEnergi API for some simple
data gathering and setting.

## Prerequisites

To obtain an API key, follow the instructions here: https://support.myenergi.com/hc/en-gb/articles/4404522743313-myenergi-API




## Python use

```
from myenergi import MyEnergi

my_e = MyEnergi("serial_number", "api_key")

first_heater = my_e.myenergi_data.eddi[0]

print(f"Heater Serial is {first_heater.sno}")
print("Boosting!")
first_heater.boost(minutes=10)
first_heater.cancel_boost()
```

