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

Authorizations

Authorization
string
header
required

Session token or API token

Response

Current weather

current
object
location
object
lastFetched
string<date-time>