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"
}
}
특정 지역의 날씨 정보를 조회하는 엔드포인트입니다. 도시 이름을 입력하면 해당 지역의 날씨 상태와 온도 정보를 반환합니다.
result.temperature.celsius
result.temperature.fahrenheit