logo of 天氣預報 on the GPT Store

天氣預報 on the GPT Store

Use 天氣預報 on ChatGPT Use 天氣預報 on 302.AI

GPT Description

查詢台灣天氣

GPT Prompt Starters

  • 桃園天氣預報
  • 新北天氣預報
  • 台北天氣預報
  • 新竹天氣預報

GPT Action OpenAPI Spec

{
  "openapi": "3.1.0",
  "info": {
    "title": "台灣天氣預報取得(短時間範圍)",
    "description": "台灣天氣預報器(short_term_taiwan_weather_nature),可以透過指定時間區間、指定欲回傳的天氣型態,回傳時間區間內的某幾項天氣預報。",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://superiorapis-creator.cteam.com.tw"
    }
  ],
  "paths": {
    "/manager/feature/proxy/13fc0d255c09e81d486d1658250bd75774/pub_67389bbaac2c64e18658254425f75c": {
      "post": {
        "requestBody": {
          "description": "傳入特定資訊",
          "content": {
            "application/json": {
              "schema": {
                "description": "",
                "type": "object",
                "properties": {
                  "city_code": {
                    "alias": "指定縣市",
                    "description": "指定縣市(預設回傳全部)",
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "alias": "縣市代碼",
                      "description": "輸入縣市代碼",
                      "type": "string",
                      "enum": [
                        "A",
                        "B",
                        "C",
                        "D",
                        "E",
                        "F",
                        "G",
                        "H",
                        "I",
                        "J",
                        "K",
                        "M",
                        "N",
                        "O",
                        "P",
                        "Q",
                        "T",
                        "U",
                        "V",
                        "W",
                        "X",
                        "Z"
                      ]
                    }
                  },
                  "weather_element": {
                    "alias": "指定天氣",
                    "description": "指定回傳內容(預設回傳全部)",
                    "type": "array",
                    "items": {
                      "alias": "天氣代碼",
                      "description": "輸入欲回傳之天氣型態代碼(預設回傳全部)",
                      "type": "integer",
                      "enum": [
                        0,
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9
                      ]
                    }
                  },
                  "timeframe_count": {
                    "alias": "時間段",
                    "description": "欲回傳幾個時間段的天氣預報。(假設現在是14:00,當您輸入數字2時,將產生14:00至17:00的預報以及17:00至20:00兩段時間之天氣預報,默認會返回全部的預報信息。)",
                    "type": "integer"
                  }
                },
                "required": [
                  "city_code"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "呼叫成功",
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "type": "object",
                  "properties": {
                    "status": {
                      "alias": "狀態",
                      "description": "呼叫狀態",
                      "type": "integer"
                    },
                    "result": {
                      "alias": "結果",
                      "description": "呼叫結果",
                      "type": "object",
                      "properties": {
                        "additionalProperties": {
                          "alias": "某縣市天氣資料",
                          "description": "某縣市天氣資料",
                          "type": "object",
                          "properties": {
                            "location_info": {
                              "alias": "縣市資訊",
                              "description": "縣市資訊",
                              "type": "object",
                              "properties": {
                                "geocode": {
                                  "alias": "編碼",
                                  "description": "縣市編碼",
                                  "type": "string"
                                },
                                "lat": {
                                  "alias": "緯度",
                                  "description": "緯度",
                                  "type": "string"
                                },
                                "lon": {
                                  "alias": "經度",
                                  "description": "經度",
                                  "type": "string"
                                },
                                "name": {
                                  "alias": "名稱",
                                  "description": "縣市名稱",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "geocode",
                                "lat",
                                "lon",
                                "name"
                              ]
                            },
                            "weather_info": {
                              "alias": "所有天氣資訊",
                              "description": "所有天氣資訊",
                              "type": "object",
                              "properties": {
                                "additionalProperties": {
                                  "alias": "單一天氣指標詳細資訊",
                                  "description": "單一天氣指標詳細資訊",
                                  "type": "object",
                                  "properties": {
                                    "description": {
                                      "alias": "天氣指標描述",
                                      "description": "單一天氣指標中文描述",
                                      "type": "string"
                                    },
                                    "timeframe": {
                                      "alias": "各時間區間",
                                      "description": "各時間區間天氣資訊",
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "start_time": {
                                            "alias": "開始時間",
                                            "description": "開始時間",
                                            "type": "string"
                                          },
                                          "element_value": {
                                            "alias": "區間內數值",
                                            "description": "時間區間內數值",
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "value": {
                                                  "alias": "數值",
                                                  "description": "數值",
                                                  "type": "string"
                                                },
                                                "note": {
                                                  "alias": "單位",
                                                  "description": "單位",
                                                  "type": "string"
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "properties": {}
                              }
                            }
                          },
                          "required": [
                            "weather_info"
                          ]
                        },
                        "properties": {}
                      }
                    }
                  },
                  "required": [
                    "status",
                    "result"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "呼叫錯誤",
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "type": "object",
                  "properties": {
                    "status": {
                      "alias": "狀態",
                      "description": "呼叫狀態",
                      "type": "integer"
                    },
                    "error_msg": {
                      "alias": "錯誤訊息",
                      "description": "錯誤訊息",
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "error_msg"
                  ]
                }
              }
            }
          }
        },
        "description": "台灣天氣API(以3小時為單位)",
        "operationId": "short_term_taiwan_weather_nature",
        "deprecated": false
      }
    }
  }
}
Use 天氣預報 on 302.AI

天氣預報 GPT FAQs

Currently, access to this GPT requires a ChatGPT Plus subscription.
Visit the largest GPT directory GPTsHunter.com, search to find the current GPT: "天氣預報", click the button on the GPT detail page to navigate to the GPT Store. Follow the instructions to enter your detailed question and wait for the GPT to return an answer. Enjoy!
We are currently calculating its ranking on the GPT Store. Please check back later for updates.