https://github.com/hectorespert/ree
UNOFFICIAL Red Eléctrica de España data client
https://github.com/hectorespert/ree
api-client electricity electricity-consumption hacktoberfest python ree
Last synced: 6 months ago
JSON representation
UNOFFICIAL Red Eléctrica de España data client
- Host: GitHub
- URL: https://github.com/hectorespert/ree
- Owner: hectorespert
- License: mit
- Created: 2017-07-11T22:21:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T20:22:29.000Z (over 1 year ago)
- Last Synced: 2025-03-26T05:48:05.089Z (7 months ago)
- Topics: api-client, electricity, electricity-consumption, hacktoberfest, python, ree
- Language: Python
- Homepage: https://pypi.org/project/ree/
- Size: 134 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ree (Red Eléctrica de España data)
Library to query information of Spain electric energy demand from [Red Eléctrica de España](https://demanda.ree.es). [](https://sonarcloud.io/dashboard?id=hectorespert_ree)
## Package install:
```bash
pip install ree
```### Example Code:
```python
from ree import CanaryIslandsgeneration = CanaryIslands().get()
print(generation)
```
Output:```
Response 2017-07-13T10:20:00+00:00 Demand 0.0 Diesel: 282.2 Gas: 159.4 Wind: 48.2 Combined: 338.3 Vapor: 329.5 Solar: 89.0 Hydraulic: -3.4
```