Skip to content

DLabyGmr/python-esios

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Python library to download preprocessed data from the ESIOS API (REE)

ESIOS API is a service provided by the Spanish electricity system operator (REE) that offers access to a wide range of data related to the electricity market in Spain.

This library provides a simple interface to download and preprocess the data from the ESIOS API.

Install library

pip install python-esios

Get token

Ask for a personal token to access the ESIOS API following the instructions from REE.

Usage

Register the token in Python

TOKEN = '343sdfewe342309gjarijgwoiret834383434524...'
TOKEN = '<YOUR_TOKEN>'

Then, set the token in the environment variable ESIOS_API_KEY.

import os
os.environ['ESIOS_API_KEY'] = TOKEN

Instantiate the client

from esios import ESIOSClient
client = ESIOSClient()

Access the endpoint

endpoint = client.endpoint(name=?)

In the tutorials below, you will learn how to download, preprocess, and visualize the data from the following endpoints:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%