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"
}Returns current weather conditions and hourly forecast.
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"
}