Skip to main content
GET
/
api
/
weather
Get weather data
curl --request GET \
  --url http://aris.local/api/weather \
  --header 'Authorization: Bearer <token>'
{
  "current": {
    "tempC": 15.5,
    "humidity": 65,
    "condition": "Partly Cloudy",
    "windSpeedKmh": 12.5
  },
  "hourly": [
    {
      "time": "2023-11-07T05:31:56Z",
      "tempC": 123,
      "humidity": 123,
      "condition": "<string>"
    }
  ],
  "location": {
    "latitude": 123,
    "longitude": 123
  },
  "lastFetched": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Session token or API token

Response

Weather data with forecast

current
object
hourly
object[]
location
object
lastFetched
string<date-time>