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.processing |
For advanced use, this enables customization of the request/response processing (XML, HTTP, security etc.).
|
net.degreedays.api.regression |
For using the API to run regressions against your energy-usage data.
|
Modifier and Type | Class and Description |
---|---|
class |
FailureResponse
|
Modifier and Type | Method and Description |
---|---|
Response |
RequestProcessor.process(Request request)
Processes the
Request object and returns a
Response object which is either a
FailureResponse or a
Response that's type is the counterpart to
that of the Request object passed in. |
Modifier and Type | Class and Description |
---|---|
class |
LocationDataResponse
Contains the degree-day data generated to fulfil a
LocationDataRequest . |
class |
LocationInfoResponse
Contains the location/station-related info returned in response to a
LocationInfoRequest . |
Modifier and Type | Method and Description |
---|---|
Response |
ResponseParser.parseResponse(java.io.InputStream responseStream,
Request request)
Note that it is not the responsibility of this parser to close the
responseStream . |
Response |
XmlHttpRequestProcessor.process(Request request) |
Modifier and Type | Class and Description |
---|---|
class |
RegressionResponse
Contains a selection of the regressions that the API tested against your
RegressionRequest , with the Regression that gave the best
statistical fit listed first. |
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.