Twinkle HubTwinkle Hub

36h 縣市天氣預報 (CWA F-C0032-001)

tw_rt_cwa_36h_forecast

氣象水情 · 同一族🇹🇼 台灣唯讀

關鍵字 / Keywords: 天氣預報 今天天氣 明天天氣 今明天氣 36小時天氣 中央氣象署 CWA weather forecast

今明 36 小時各縣市天氣預報 (22 縣市, Wx / MaxT / MinT / CI / PoP). 一週預報用 tw_rt_cwa_weekly_forecast.

Args: locationName: 縣市名 (e.g. "臺北市";「高雄」「台北」會對到正式名稱;多個用逗號分隔). None=全 22 縣市. 「新竹」「嘉義」市縣都有 → invalid_params 要求指定. limit: max rows (default 22).

Source: CWA F-C0032-001. License: OGDL v1 + 氣象資料開放平臺使用規範. 5-min cache.

參數

參數型別說明
locationNamestring—
limitinteger—
原始 JSON schema
{
  "properties": {
    "locationName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Locationname"
    },
    "limit": {
      "default": 22,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "tw_rt_cwa_36h_forecastArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_rt_cwa_36h_forecast({ locationName: "…" })