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"
}Returns only current weather conditions (no forecast).
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"
}