sentier_peakachu.entsoe#

Module Contents#

Functions#

filter_actual_aggregated(df)

Curates the generation data from ENTSO-E API to only include the actual aggregated generation

get_api_key()

Getting the API key from the .env file.

get_generation_data(country_code, start, end)

Get generation data from ENTSO-E API for a specific country and time range.

sentier_peakachu.entsoe.filter_actual_aggregated(df)[source]#

Curates the generation data from ENTSO-E API to only include the actual aggregated generation data.

sentier_peakachu.entsoe.get_api_key()[source]#

Getting the API key from the .env file.

sentier_peakachu.entsoe.get_generation_data(country_code: str, start: pandas.Timestamp, end: pandas.Timestamp)[source]#

Get generation data from ENTSO-E API for a specific country and time range.

Parameters:
  • country_code (str) – Country code (e.g. ‘DE’ for Germany).

  • start (pd.Timestamp) – Start date and time.

  • end (pd.Timestamp) – End date and time.

Returns:

Generation data for the specified country and time range.

Return type:

pd.DataFrame