Get the weather forecast for a city or coordinates
tanod.dev/v1/weather
Get the weather forecast for a city or coordinates: up to 48 hourly rows. Input: place or lat and lon, hours. Returns temperature, humidity, wind, cloud, precipitation (MET Norway, GeoNames, CC BY 4.0; not for safety-critical use). Use when an agent needs an hourly forecast.
POST
https://tanod.dev/v1/weatherUptime100% of 1 check in 30 days
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/weather" \
-d '{"hours":24,"place":"Oslo, NO"}'
# 402 Payment Required comes back with the price and where to pay.Example input
{
"hours": 24,
"place": "Oslo, NO"
}