Unifly Weather API (latest)

Download OpenAPI specification:Download

Unifly Weather REST API

weather-controller

Weather Controller

Get the daily or hourly forecast for a given location

query Parameters
forecast_type
string
Default: "DAILY"
Enum: "HOURLY" "DAILY"

forecast_type

latitude
required
number <double>

latitude

longitude
required
number <double>

longitude

metric
boolean

metric

Responses

Response samples

Content type
application/json
{
  • "feedCreation": "2019-08-24T14:15:22Z",
  • "forecast": [
    ],
  • "weatherLocation": {
    },
  • "metadata": [
    ]
}

Get the current observations for a given location

query Parameters
latitude
required
number <double>

latitude

longitude
required
number <double>

longitude

metric
boolean

metric

Responses

Response samples

Content type
application/json
{
  • "feedCreation": "2019-08-24T14:15:22Z",
  • "observation": [
    ],
  • "metadata": [
    ]
}