API

为用户提供免费api项目


获取天气信息

{"info":{"from":"runapi","type":"api","title":"","description":"","method":"get","url":"https://api.justwen233.cn/wen/getweather?city=%E5%90%88%E6%B5%A6","remark":"","apiStatus":"0"},"request":{"params":{"mode":"urlencoded","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":"","disable":"0"}],"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":"","disable":"0"}],"pathVariable":[]},"response":{"responseText":"{\n \"code\": 200,\n \"msg\": \"ok\",\n \"data\": {\n \"code\": 0,\n \"message\": \"查询成功\",\n \"data\": {\n \"city\": \"合浦\",\n \"realtime\": {\n \"temperature\": \"23\",\n \"humidity\": \"92\",\n \"info\": \"阴\",\n \"wid\": \"02\",\n \"direct\": \"北风\",\n \"power\": \"2级\",\n \"aqi\": \"22\"\n },\n \"future\": [\n {\n \"date\": \"2022-05-13\",\n \"temperature\": \"23/27℃\",\n \"weather\": \"大雨转中雨\",\n \"wid\": {\n \"day\": \"09\",\n \"night\": \"08\"\n },\n \"direct\": \"南风转东北风\"\n },\n {\n \"date\": \"2022-05-14\",\n \"temperature\": \"24/28℃\",\n \"weather\": \"中雨\",\n \"wid\": {\n \"day\": \"08\",\n \"night\": \"08\"\n },\n \"direct\": \"南风\"\n },\n {\n \"date\": \"2022-05-15\",\n \"temperature\": \"18/27℃\",\n \"weather\": \"中雨转多云\",\n \"wid\": {\n \"day\": \"08\",\n \"night\": \"01\"\n },\n \"direct\": \"北风\"\n },\n {\n \"date\": \"2022-05-16\",\n \"temperature\": \"18/27℃\",\n \"weather\": \"多云\",\n \"wid\": {\n \"day\": \"01\",\n \"night\": \"01\"\n },\n \"direct\": \"北风转东北风\"\n },\n {\n \"date\": \"2022-05-17\",\n \"temperature\": \"21/28℃\",\n \"weather\": \"多云\",\n \"wid\": {\n \"day\": \"01\",\n \"night\": \"01\"\n },\n \"direct\": \"东北风转东风\"\n }\n ]\n }\n }\n}","responseOriginal":{"code":200,"msg":"ok","data":{"code":0,"message":"查询成功","data":{"city":"合浦","realtime":{"temperature":"23","humidity":"92","info":"阴","wid":"02","direct":"北风","power":"2级","aqi":"22"},"future":[{"date":"2022-05-13","temperature":"23/27℃","weather":"大雨转中雨","wid":{"day":"09","night":"08"},"direct":"南风转东北风"},{"date":"2022-05-14","temperature":"24/28℃","weather":"中雨","wid":{"day":"08","night":"08"},"direct":"南风"},{"date":"2022-05-15","temperature":"18/27℃","weather":"中雨转多云","wid":{"day":"08","night":"01"},"direct":"北风"},{"date":"2022-05-16","temperature":"18/27℃","weather":"多云","wid":{"day":"01","night":"01"},"direct":"北风转东北风"},{"date":"2022-05-17","temperature":"21/28℃","weather":"多云","wid":{"day":"01","night":"01"},"direct":"东北风转东风"}]}}},"responseExample":"{\n \"code\": 201,\n \"result\": {\n \"code\": 0,\n \"message\": \"查询成功\",\n \"data\": {\n \"city\": \"合浦\",\n \"realtime\": {\n \"temperature\": \"27\",\n \"humidity\": \"81\",\n \"info\": \"小雨\",\n \"wid\": \"07\",\n \"direct\": \"南风\",\n \"power\": \"3级\",\n \"aqi\": \"19\"\n },\n \"future\": [\n {\n \"date\": \"2022-05-10\",\n \"temperature\": \"24/28℃\",\n \"weather\": \"阵雨\",\n \"wid\": {\n \"day\": \"03\",\n \"night\": \"03\"\n },\n \"direct\": \"南风\"\n },\n {\n \"date\": \"2022-05-11\",\n \"temperature\": \"24/28℃\",\n \"weather\": \"阵雨转中雨\",\n \"wid\": {\n \"day\": \"03\",\n \"night\": \"08\"\n },\n \"direct\": \"南风\"\n },\n {\n \"date\": \"2022-05-12\",\n \"temperature\": \"24/28℃\",\n \"weather\": \"中雨转大雨\",\n \"wid\": {\n \"day\": \"08\",\n \"night\": \"09\"\n },\n \"direct\": \"南风\"\n },\n {\n \"date\": \"2022-05-13\",\n \"temperature\": \"23/27℃\",\n \"weather\": \"大雨转中雨\",\n \"wid\": {\n \"day\": \"09\",\n \"night\": \"08\"\n },\n \"direct\": \"南风转东北风\"\n },\n {\n \"date\": \"2022-05-14\",\n \"temperature\": \"20/27℃\",\n \"weather\": \"中雨\",\n \"wid\": {\n \"day\": \"08\",\n \"night\": \"08\"\n },\n \"direct\": \"东南风转东风\"\n }\n ]\n }\n }\n}","responseHeader":{"access-control-allow-origin":"*","cache-control":"no-cache, private","content-type":"application/json","date":"Thu, 12 May 2022 16:37:46 GMT","server":"nginx","status":"200","strict-transport-security":"max-age=31536000","x-ratelimit-limit":"60","x-ratelimit-remaining":"55"},"responseStatus":200,"responseTime":768,"responseParamsDesc":[{"name":"","type":"string","remark":""}],"responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"remark":"","responseSize":1},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML