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.
|
Modifier and Type | Class and Description |
---|---|
class |
FailureException
Superclass of exceptions that indicate a
Failure in the API's
processing of all or part of a request. |
class |
InvalidRequestException
Indicates that the API could not process a request because it was invalid in
some way (e.g. authenticated with invalid access keys).
|
class |
RateLimitException
Indicates that the API servers did not process a request because the
RateLimit for the account's plan had been reached. |
class |
RequestFailureException
Superclass of exceptions that indicate that the API's processing of a request
resulted in a
Failure . |
class |
ServiceException
Indicates that the API servers failed to process a request because of
temporary downtime or an unexpected error (sorry!).
|
class |
TransportException
Indicates an error transporting a request to the API servers or transporting
a response back.
|
Modifier and Type | Class and Description |
---|---|
class |
DataTransformException
Indicates that this client library could not transform a set of data into one
with a different breakdown.
|
class |
LocationException
|
class |
SourceDataException
|
Modifier and Type | Method and Description |
---|---|
LocationDataResponse |
DataApi.getLocationData(LocationDataRequest request)
Sends your
request for data to the API servers, returning a
non-null response containing data you requested, or throwing an
appropriate subclass of DegreeDaysApiException if something
goes wrong. |
LocationInfoResponse |
DataApi.getLocationInfo(LocationInfoRequest request)
A lightweight alternative to
DataApi.getLocationData(LocationDataRequest) that returns info about the
station(s) that would be used to satisfy an equivalent
LocationDataRequest , but not the data itself. |
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.