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.
|
Constructor and Description |
---|
DegreeDaysApi(RequestProcessor requestProcessor)
Constructs a
DegreeDaysApi object that internally uses the
specified RequestProcessor . |
Constructor and Description |
---|
DataApi(RequestProcessor requestProcessor)
Constructs a
DataApi object that uses the specified
RequestProcessor internally. |
Modifier and Type | Class and Description |
---|---|
class |
XmlHttpRequestProcessor
A concrete implementation of the
RequestProcessor interface that
turns Request objects into XML, adds the necessary security details,
sends them over HTTP to the Degree Days.net API servers, and parses the XML
responses into Response object models. |
Constructor and Description |
---|
RegressionApi(RequestProcessor requestProcessor)
Constructs a
RegressionApi object that uses the specified
RequestProcessor internally. |
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.