Package | Description |
---|---|
net.degreedays.api |
Core Degree Days.net API classes, including
DegreeDaysApi - the starting point for all API operations. |
net.degreedays.api.data |
For specifying and receiving degree-day data and temperature data from the API.
|
net.degreedays.api.regression |
For using the API to run regressions against your energy-usage data.
|
Modifier and Type | Method and Description |
---|---|
Failure |
Failure.Builder.build() |
Failure |
FailureResponse.failure()
Returns the non-null
Failure object that contains details
of the failure in the API's server-side processing of the request. |
Failure |
FailureException.failure()
Returns the non-null
Failure object containing details of
the failure on the API's servers that led to this exception on the
client. |
Modifier and Type | Method and Description |
---|---|
FailureResponse.Builder |
FailureResponse.Builder.setFailure(Failure failure) |
Modifier and Type | Method and Description |
---|---|
DataSets.Builder |
DataSets.Builder.addFailure(DataSpec dataSpec,
Failure failure)
|
DataSets.Builder |
DataSets.Builder.addFailure(java.lang.String key,
Failure failure)
|
Modifier and Type | Method and Description |
---|---|
RegressionResponse.Builder |
RegressionResponse.Builder.setRegressionsFailure(Failure failure) |
See www.degreedays.net/api/ for more about the Degree Days.net API.
You can sign up for a Degree Days.net API account and read the integration guide that is useful and applicable whether you are using Java or not.