API

为用户提供免费api项目


当周天气(自动定位)

{"info":{"from":"runapi","type":"api","title":"","description":"","method":"get","url":"https://api.vvhan.com/api/weather?city=徐州&type=week","remark":"请求示例:https://api.vvhan.com/api/weather?city=徐州&type=week","apiStatus":"0"},"request":{"params":{"mode":"urlencoded","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":""}],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"","jsonDesc":[{"name":"","type":"string","value":"","require":"1","remark":""}]},"headers":[{"name":"","type":"string","value":"","require":"1","remark":""}],"cookies":[{"name":"","value":""}],"auth":[],"query":[{"name":"city","type":"string","value":"徐州","require":"1","remark":""},{"name":"type","type":"string","value":"week","require":"1","remark":""}],"pathVariable":[]},"response":{"responseText":"{\n \"data\": {\n \"yesterday\": {\n \"date\": \"1日星期日\",\n \"high\": \"高温 21℃\",\n \"fx\": \"西风\",\n \"low\": \"低温 12℃\",\n \"fl\": \"2级\",\n \"type\": \"多云\"\n },\n \"city\": \"徐州\",\n \"forecast\": [\n {\n \"date\": \"2日星期一\",\n \"high\": \"高温 25℃\",\n \"fengli\": \"2级\",\n \"low\": \"低温 12℃\",\n \"fengxiang\": \"西风\",\n \"type\": \"晴\"\n },\n {\n \"date\": \"3日星期二\",\n \"high\": \"高温 28℃\",\n \"fengli\": \"3级\",\n \"low\": \"低温 12℃\",\n \"fengxiang\": \"南风\",\n \"type\": \"晴\"\n },\n {\n \"date\": \"4日星期三\",\n \"high\": \"高温 28℃\",\n \"fengli\": \"3级\",\n \"low\": \"低温 15℃\",\n \"fengxiang\": \"南风\",\n \"type\": \"晴\"\n },\n {\n \"date\": \"5日星期四\",\n \"high\": \"高温 28℃\",\n \"fengli\": \"3级\",\n \"low\": \"低温 16℃\",\n \"fengxiang\": \"南风\",\n \"type\": \"晴\"\n },\n {\n \"date\": \"6日星期五\",\n \"high\": \"高温 29℃\",\n \"fengli\": \"3级\",\n \"low\": \"低温 16℃\",\n \"fengxiang\": \"东南风\",\n \"type\": \"晴\"\n }\n ],\n \"ganmao\": \"感冒易发期,外出请适当调整衣物,注意补充水分。\",\n \"wendu\": \"19\"\n },\n \"status\": 1000,\n \"desc\": \"OK\"\n}","responseOriginal":{"data":{"yesterday":{"date":"1日星期日","high":"高温 21℃","fx":"西风","low":"低温 12℃","fl":"2级","type":"多云"},"city":"徐州","forecast":[{"date":"2日星期一","high":"高温 25℃","fengli":"2级","low":"低温 12℃","fengxiang":"西风","type":"晴"},{"date":"3日星期二","high":"高温 28℃","fengli":"3级","low":"低温 12℃","fengxiang":"南风","type":"晴"},{"date":"4日星期三","high":"高温 28℃","fengli":"3级","low":"低温 15℃","fengxiang":"南风","type":"晴"},{"date":"5日星期四","high":"高温 28℃","fengli":"3级","low":"低温 16℃","fengxiang":"南风","type":"晴"},{"date":"6日星期五","high":"高温 29℃","fengli":"3级","low":"低温 16℃","fengxiang":"东南风","type":"晴"}],"ganmao":"感冒易发期,外出请适当调整衣物,注意补充水分。","wendu":"19"},"status":1000,"desc":"OK"},"responseExample":"{\n \"data\": {\n \"yesterday\": {\n \"date\": \"1日星期日\",\n \"high\": \"高温 21℃\",\n \"fx\": \"西风\",\n \"low\": \"低温 12℃\",\n \"fl\": \"2级\",\n \"type\": \"多云\"\n },\n \"city\": \"徐州\",\n \"forecast\": [\n {\n \"date\": \"2日星期一\",\n \"high\": \"高温 25℃\",\n \"fengli\": \"2级\",\n \"low\": \"低温 12℃\",\n \"fengxiang\": \"西风\",\n \"type\": \"晴\"\n },\n {\n \"date\": \"3日星期二\",\n \"high\": \"高温 28℃\",\n \"fengli\": \"3级\",\n \"low\": \"低温 12℃\",\n \"fengxiang\": \"南风\",\n \"type\": \"晴\"\n },\n {\n \"date\": \"4日星期三\",\n \"high\": \"高温 28℃\",\n \"fengli\": \"3级\",\n \"low\": \"低温 15℃\",\n \"fengxiang\": \"南风\",\n \"type\": \"晴\"\n },\n {\n \"date\": \"5日星期四\",\n \"high\": \"高温 28℃\",\n \"fengli\": \"3级\",\n \"low\": \"低温 16℃\",\n \"fengxiang\": \"南风\",\n \"type\": \"晴\"\n },\n {\n \"date\": \"6日星期五\",\n \"high\": \"高温 29℃\",\n \"fengli\": \"3级\",\n \"low\": \"低温 16℃\",\n \"fengxiang\": \"东南风\",\n \"type\": \"晴\"\n }\n ],\n \"ganmao\": \"感冒易发期,外出请适当调整衣物,注意补充水分。\",\n \"wendu\": \"19\"\n },\n \"status\": 1000,\n \"desc\": \"OK\"\n}","responseHeader":{"access-control-allow-origin":"*","connection":"keep-alive","content-type":"application/json; charset=utf-8","date":"Mon, 02 May 2022 12:33:00 GMT","server":"CWAP-waf","strict-transport-security":"max-age=31536000","transfer-encoding":"chunked","wzws-ray":"1129-1651523580.903-s5jhg","x-powered-by":"wangzhan.qianxin.com"},"responseStatus":200,"responseTime":266,"responseParamsDesc":[{"name":"","type":"string","remark":""}],"responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"remark":"请求示例:https://api.vvhan.com/api/weather?city=徐州&type=week","responseSize":1},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML