API 참조
vox.ai API 엔드포인트 목록
특정 지역의 날씨 정보를 조회하는 엔드포인트입니다.
cURL
curl --request POST \ --url https://api.tryvox.co/functions/v1/get_weather \ --header 'Content-Type: application/json' \ --data '{ "city": "<string>" }'
{ "result": { "city": "<string>", "condition": "<string>", "temperature": { "celsius": 123, "fahrenheit": 123 }, "timestamp": "2023-11-07T05:31:56Z" } }
도시 이름을 포함하는 JSON 페이로드
The body is of type object.
object
날씨 정보 조회 성공
The response is of type object.