K-Weather GPT
K-Weather GPT · GPT-Aktionen
기상청_동네예보 통보문 조회서비스
발표관서나 예보구역 정보를 조건으로 기상개황, 육상예보, 해상예보를 조회하는 서비스
GET /1360000/VilageFcstMsgService/getWthrSituationgetWthrSituation기상개황조회
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "기상청_동네예보 통보문 조회서비스",
"description": "발표관서나 예보구역 정보를 조건으로 기상개황, 육상예보, 해상예보를 조회하는 서비스",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://korea-weather1.p.rapidapi.com"
}
],
"paths": {
"/1360000/VilageFcstMsgService/getWthrSituation": {
"get": {
"description": "기상개황조회",
"operationId": "getWthrSituation",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WeatherResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"WeatherResponse": {
"type": "object",
"properties": {
"response": {
"type": "object",
"properties": {
"header": {
"type": "object",
"properties": {
"resultCode": {
"type": "string"
},
"resultMsg": {
"type": "string"
}
},
"required": [
"resultCode",
"resultMsg"
]
},
"body": {
"type": "object",
"properties": {
"dataType": {
"type": "string"
},
"items": {
"type": "object",
"properties": {
"item": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stnId": {
"type": "string"
},
"tmFc": {
"type": "string"
},
"wfSv1": {
"type": "string"
},
"wn": {
"type": "string"
},
"wr": {
"type": "string"
}
},
"required": [
"stnId",
"tmFc",
"wfSv1",
"wn",
"wr"
]
}
}
},
"required": [
"item"
]
},
"pageNo": {
"type": "integer"
},
"numOfRows": {
"type": "integer"
},
"totalCount": {
"type": "integer"
}
},
"required": [
"dataType",
"items",
"pageNo",
"numOfRows",
"totalCount"
]
}
},
"required": [
"header",
"body"
]
}
},
"required": [
"response"
]
}
}
}
}