接口文档请求示例返回示例在线调试请求地址示例GEThttps://api.hk0.cc/api/weather?city=beijing 复制请求参数根据传入位置,将参数放入 Query、Body 或 Header。1 项参数参数名可传值说明传入位置是否必填示例值默认值参数说明citystringquery必填——城市名称,支持中文或英文,必填请求示例选择开发语言,复制示例并替换为实际参数。ShellJavaScriptPythonPHPJavaGoC#RubyShell复制代码1curl --request GET 'https://api.hk0.cc/api/weather?city='返回示例以下为接口配置的示例,实际内容以调用结果为准。响应内容复制内容123456789101112131415161718192021{ "code": 200, "msg": "success", "data": { "location": { "name": "Beijing", "country": "China", "latitude": 39.9, "longitude": 116.4 }, "current": { "temperature_2m": 25.1, "weather_code": 1 }, "forecast": { "time": [ "2026-08-31" ] } } }