Interface SolarEdgeApiClient

All Known Implementing Classes:
SolarEdgeApiClientImpl

public interface SolarEdgeApiClient
  • Method Summary

    Modifier and Type Method Description
    java.util.concurrent.CompletableFuture<OverviewResponse> getOverviewResponse​(int siteId)
    Fetch a high level summary/overview of the site
    java.util.concurrent.CompletableFuture<SiteDetailsResponse> getSiteDetails​(int siteId)
    Fetch the site details from the API
  • Method Details

    • getSiteDetails

      java.util.concurrent.CompletableFuture<SiteDetailsResponse> getSiteDetails​(int siteId)
      Fetch the site details from the API
      Parameters:
      siteId - integer id of the site
      Returns:
      future that resolve with the site details associated with the provided site id
    • getOverviewResponse

      java.util.concurrent.CompletableFuture<OverviewResponse> getOverviewResponse​(int siteId)
      Fetch a high level summary/overview of the site
      Parameters:
      siteId - integer id of the site
      Returns:
      future that resolves with the overview response