ai-lab.oao.tw / weather cache

Taiwan Weather Cache

D1 + External fetch

點縣市看三日預報,超過 30 分鐘才抓新資料

最後更新:2026-07-23

這頁測兩件事:Sites runtime 能否呼叫外部 API,以及 D1 能否依縣市保存上一筆預報資料。地圖使用 D3 與台灣縣市 TopoJSON 呈現行政區邊界;資料來源以 Open-Meteo 為主,必要時使用 no-key fallback,預報僅供實驗觀察。

checking Waiting for weather Calling /api/weather...
Temperature --
Feels like --
Humidity --
Wind --

Three day forecast

Cache state

Runtime

Waiting...

Current JSON

Waiting...

Taiwan county boundary TopoJSON from Zovjsra/taiwan-map using MOI county data. Primary weather data by Open-Meteo under CC BY 4.0, with wttr.in as a no-key fallback when the primary upstream is rate-limited. Taiwan warnings and emergency weather information should still come from official local authorities.