Package | Description |
---|---|
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 |
---|---|
DataSet |
DataSets.get(DataSpec dataSpec)
Returns the
DataSet that was generated to fulfil the
specified DataSpec from the request, or throws a
SourceDataException if no such DataSet could be
generated. |
AverageDataSet |
DataSets.getAverage(AverageDataSpec dataSpec)
Returns the
AverageDataSet that was generated to fulfil the
specified AverageDataSpec from the request, or throws a
SourceDataException if no such AverageDataSet could
be generated. |
DatedDataSet |
DataSets.getDated(DatedDataSpec dataSpec)
Returns the
DatedDataSet that was generated to fulfil the
specified DatedDataSpec from the request, or throws a
SourceDataException if no such DatedDataSet could be
generated. |
TimeSeriesDataSet |
DataSets.getTimeSeries(TimeSeriesDataSpec dataSpec)
Returns the
TimeSeriesDataSet that was generated to fulfil
the specified TimeSeriesDataSpec from the request, or throws
a SourceDataException if no such TimeSeriesDataSet
could be generated. |
DataSet |
DataSets.getWithKey(java.lang.String key)
For unusual use cases, this enables you to access the
DataSet objects using the string keys that are usually
managed internally. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Regression> |
RegressionResponse.getRegressions()
Returns a non-null, non-empty, best-first ordered list of
Regression objects, or throws a SourceDataException
if the API could not generate regressions because there was not enough
good weather data for the Location specified in your
RegressionRequest . |
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.