Daily High Temperature

Overview

Provides daily high temperatures for locations from 1 year ago to the previous day.

Location

Provides a daily time series of high temperatures within a user-defined timespan at a specific location. The location is represented by a latitude/longitude pair.

GET /daily-high-temperature/{latitude}/{longitude}

Query String Parameters (Optional)

The default response contains results on a Celsius temperature scale for up to the next 6 days. However, the forecast data is deprecated and will be discontinued at some point in the future.

We would encourage using start and end paramaters with an end date no later than yesterday.

Name Type Description Accepted Values / Range Example
unit string temperature unit celsius, fahrenheit celsius
start string start date 1 year ago to previous day 2015-06-01
end string end date (inclusive) 1 year ago to previous day 2015-06-03

Request Example

See CORS for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/daily-high-temperature/35.482/-97.535" \
  -d start="2015-06-01" \
  -d end="2015-06-03" \
  --user <username>:<password>

Response Example

See Status Codes for response code details.

HTTP/1.1 200 OK
{
  "latitude": 35.482,
  "longitude": -97.535,
  "startDate": "2015-06-01",
  "endDate": "2015-06-03",
  "unit": {
    "description": "degrees celsius",
    "label": "°C"
  },
  "series": [
    {
      "validDate": "2015-06-01",
      "value": 34.2,
      "products": [
        "skywise-conus-24hr-high-temperature-analysis"
      ]
    },
    {
      "validDate": "2015-06-02",
      "value": 35.1,
      "products": [
        "skywise-conus-24hr-high-temperature-analysis"
      ]
    },
    {
      "validDate": "2015-06-03",
      "value": 36.2,
      "products": [
        "skywise-conus-24hr-high-temperature-analysis"
      ]
    }
  ]
}