分钟级降水
请求路径#
GET /v7/minutely/5m参数#
查询参数
-
location(必选) 需要查询地区的以英文逗号分隔的经度,纬度坐标(十进制,最多支持小数点后两位)。例如location=116.41,39.92 -
lang多语言设置,请阅读多语言文档,了解我们的多语言是如何工作、如何设置以及数据是否支持多语言。
请求示例#
curl -X GET --compressed \
-H 'Authorization: Bearer your_token' \
'https://your-api-host/v7/minutely/5m?location=116.41%2C39.92&lang=zh'
请将your_token替换为你的JWT身份认证,将your_api_host替换为你的API Host
返回数据#
{
"code": "200",
"updateTime": "2021-12-16T18:55+08:00",
"fxLink": "https://www.qweather.com",
"summary": "95分钟后雨就停了",
"minutely": [
{
"fxTime": "2021-12-16T18:55+08:00",
"precip": "0.15",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:00+08:00",
"precip": "0.23",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:05+08:00",
"precip": "0.21",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:10+08:00",
"precip": "0.17",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:15+08:00",
"precip": "0.18",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:20+08:00",
"precip": "0.24",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:25+08:00",
"precip": "0.31",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:30+08:00",
"precip": "0.37",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:35+08:00",
"precip": "0.41",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:40+08:00",
"precip": "0.43",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:45+08:00",
"precip": "0.41",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:50+08:00",
"precip": "0.36",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:55+08:00",
"precip": "0.32",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:00+08:00",
"precip": "0.27",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:05+08:00",
"precip": "0.22",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:10+08:00",
"precip": "0.17",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:15+08:00",
"precip": "0.11",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:20+08:00",
"precip": "0.06",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:25+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:30+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:35+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:40+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:45+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:50+08:00",
"precip": "0.0",
"type": "rain"
}
],
"refer": {
"sources": [
"https://developer.qweather.com/attribution.html"
],
"license": [
"QWeather Developers License"
]
}
}
-
fxLinkuri 当前数据的响应式页面,便于嵌入网站或应用 -
summarystring 分钟降水描述 -
minutelyarray 每分钟降水数据列表-
fxTimedate-time 预报时间,ISO8601 格式 -
precipstring 5分钟累计降水量,单位毫米 -
typestring 降水类型:rain= 雨,snow= 雪
-
-
referobject 数据来源和许可信息-
sourcesarray 原始数据来源,或数据源说明,可能为空 -
licensearray 数据许可或版权声明,可能为空
-