:py:mod:`sentier_peakachu.entsoe` ================================= .. py:module:: sentier_peakachu.entsoe Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: sentier_peakachu.entsoe.filter_actual_aggregated sentier_peakachu.entsoe.get_api_key sentier_peakachu.entsoe.get_generation_data .. py:function:: filter_actual_aggregated(df) Curates the generation data from ENTSO-E API to only include the actual aggregated generation data. .. py:function:: get_api_key() Getting the API key from the .env file. .. py:function:: get_generation_data(country_code: str, start: pandas.Timestamp, end: pandas.Timestamp) Get generation data from ENTSO-E API for a specific country and time range. :param country_code: Country code (e.g. 'DE' for Germany). :type country_code: str :param start: Start date and time. :type start: pd.Timestamp :param end: End date and time. :type end: pd.Timestamp :returns: Generation data for the specified country and time range. :rtype: pd.DataFrame