POST
/
get_weather
curl --request POST \
  --url https://api.tryvox.co/functions/v1/get_weather \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "city": "<string>"
  }
}'
{
  "result": {
    "city": "<string>",
    "condition": "<string>",
    "temperature": {
      "celsius": 123,
      "fahrenheit": 123
    },
    "timestamp": "2023-11-07T05:31:56Z"
  }
}

특정 지역의 날씨 정보를 조회하는 엔드포인트입니다. 도시 이름을 입력하면 해당 지역의 날씨 상태와 온도 정보를 반환합니다.

Body

application/json
도시 이름을 포함하는 JSON 페이로드
args
object
required

Response

200
application/json
날씨 정보 조회 성공
result
object