Package | Description |
---|---|
net.degreedays.api.data |
For specifying and receiving degree-day data and temperature data from the API.
|
Modifier and Type | Class and Description |
---|---|
class |
AverageDataSet
Contains a set of average degree-day data generated to fulfil an
AverageDataSpec for a specific Location . |
class |
DatedDataSet
Contains a set of dated data (e.g. daily/weekly/monthly degree days)
generated to fulfil a
DatedDataSpec for a specific Location . |
class |
TimeSeriesDataSet
Contains a set of time-series data (e.g. hourly temperature data)
generated to fulfil a
TimeSeriesDataSpec for a specific
Location . |
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. |
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 |
---|---|
DataSets.Builder |
DataSets.Builder.add(DataSpec dataSpec,
DataSet dataSet)
|
DataSets.Builder |
DataSets.Builder.add(java.lang.String key,
DataSet dataSet)
|
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.