Class EntsoeApi

java.lang.Object
io.openems.edge.timeofusetariff.entsoe.EntsoeApi

public class EntsoeApi extends Object
  • Field Details

  • Constructor Details

    • EntsoeApi

      public EntsoeApi()
  • Method Details

    • query

      protected static String query(String token, String areaCode, ZonedDateTime fromDate, ZonedDateTime toDate) throws IOException
      Queries the ENTSO-E API for day-ahead prices.
      Parameters:
      token - the Security Token
      areaCode - Area EIC code; see https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html#_areas
      fromDate - the From-Date
      toDate - the To-Date
      Returns:
      The response string.
      Throws:
      IOException - on error