Daily Low Temperature

Overview

Provides daily low temperatures for locations up to 10 days in the future.

Location

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

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

Query String Parameters (Optional)

The default response contains results on a Celsius temperature scale for the next 6 days.

Name Type Description Accepted Values / Range Example
unit string temperature unit celsius, fahrenheit celsius
start string start date 1 year ago to 10 days in the future 2017-06-01
end string end date (inclusive) 1 year ago to 10 days in the future 2017-06-03

Request Example

See CORS for request header details.

$ curl -X GET -G "https://insight.api.wdtinc.com/daily-low-temperature/35.482/-97.535" \
  -d start="2017-06-01" \
  -d end="2017-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": "2017-06-01",
  "endDate": "2017-06-03",
  "unit": {
    "description": "degrees celsius",
    "label": "°C"
  },
  "series": [
    {
      "validDate": "2017-06-01",
      "value": 26.2,
      "products": [
        "skywise-conus-24hr-low-temperature-analysis"
      ]
    },
    {
      "validDate": "2017-06-02",
      "value": 27.1,
      "products": [
        "skywise-conus-24hr-low-temperature-analysis"
      ]
    },
    {
      "validDate": "2017-06-03",
      "value": 27.0,
      "products": [
        "skywise-conus-24hr-low-temperature-analysis"
      ]
    }
  ]
}