老余博客上线了!!!

免费天气预报接口调用

后端 老余 125℃ 0评论

通用API 请求示例:https://www.tianqiapi.com/api/?version=v1&city=都昌 接口参数以GET方式提交, 可在浏览器里输入测试 参数 名称 备注 version 版本标识 必填字段 目前可用值: v1 callba...

通用API

请求示例:https://www.tianqiapi.com/api/?version=v1&city=都昌
接口参数以GET方式提交, 可在浏览器里输入测试
参数 名称 备注
version 版本标识 必填字段 目前可用值: v1
callback jsonp参数 如: jQuery.Callbacks
                                                                                                                                以下参数三选一
cityid 城市编号 如: 101120201
city 城市名称 如: 海淀,青岛,大连 (不要带市和区)
ip IP地址 此IP地区的天气

{“cityid”:”101240210″,”update_time”:”2019-01-23 11:30:00″,”city”:”\u90fd\u660c”,”data”:[{“day”:”23\u65e5\uff08\u4eca\u5929\uff09″,”date”:”2019-01-23″,”week”:”\u661f\u671f\u4e09″,”wea”:”\u6674″,”wea_img”:”qing”,”air”:0,”air_level”:”\u4f18″,”air_tips”:”\u7a7a\u6c14\u5f88\u597d\uff0c\u53ef\u4ee5\u5916\u51fa\u6d3b\u52a8\uff0c\u547c\u5438\u65b0\u9c9c\u7a7a\u6c14\uff0c\u62e5\u62b1\u5927\u81ea\u7136\uff01″,”alarm”:[],”tem1″:”12\u2103″,”tem2″:”3\u2103″,”tem”:”8\u2103″,”win”:[“\u5317\u98ce”,”\u5317\u98ce”],”win_speed”:”<3\u7ea7″,”hours”:[{“day”:”23\u65e508\u65f6″,”wea”:”\u6674″,”tem”:”4\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”23\u65e511\u65f6″,”wea”:”\u6674″,”tem”:”8\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”23\u65e514\u65f6″,”wea”:”\u6674″,”tem”:”11\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”23\u65e517\u65f6″,”wea”:”\u6674″,”tem”:”10\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”23\u65e520\u65f6″,”wea”:”\u6674″,”tem”:”8\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”23\u65e523\u65f6″,”wea”:”\u6674″,”tem”:”6\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”24\u65e502\u65f6″,”wea”:”\u6674″,”tem”:”5\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”24\u65e505\u65f6″,”wea”:”\u6674″,”tem”:”3\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″}],”index”:[{“title”:”\u7d2b\u5916\u7ebf\u6307\u6570″,”level”:”\u4e2d\u7b49″,”desc”:”\u6d82\u64e6SPF\u5927\u4e8e15\u3001PA+\u9632\u6652\u62a4\u80a4\u54c1\u3002″},{“title”:”<\/em><em>”,”level”:null,”desc”:”\u5929\u6c14\u8f83\u8212\u9002\uff0c\u51cf\u80a5\u6b63\u5f53\u65f6\u3002″},{“title”:”\u5065\u81fb\u00b7\u8840\u7cd6\u6307\u6570″,”level”:”\u4e0d\u6613\u6ce2\u52a8″,”desc”:”\u5929\u6c14\u6761\u4ef6\u597d\uff0c\u8840\u7cd6\u4e0d\u6613\u6ce2\u52a8\uff0c\u53ef\u9002\u65f6\u8fdb\u884c\u6237\u5916\u953b\u70bc\u3002″},{“title”:”\u7a7f\u8863\u6307\u6570″,”level”:”\u8f83\u51b7″,”desc”:”\u5efa\u8bae\u7740\u539a\u5916\u5957\u52a0\u6bdb\u8863\u7b49\u670d\u88c5\u3002″},{“title”:”\u6d17\u8f66\u6307\u6570″,”level”:”\u8f83\u9002\u5b9c”,”desc”:”\u65e0\u96e8\u4e14\u98ce\u529b\u8f83\u5c0f\uff0c\u6613\u4fdd\u6301\u6e05\u6d01\u5ea6\u3002″},{“title”:”\u7a7a\u6c14\u6c61\u67d3\u6269\u6563\u6307\u6570″,”level”:”\u4e2d”,”desc”:”\u6613\u611f\u4eba\u7fa4\u5e94\u9002\u5f53\u51cf\u5c11\u5ba4\u5916\u6d3b\u52a8\u3002″}]},{“day”:”24\u65e5\uff08\u660e\u5929\uff09″,”date”:”2019-01-24″,”week”:”\u661f\u671f\u56db”,”wea”:”\u6674\u8f6c\u591a\u4e91″,”wea_img”:”yun”,”tem1″:”13\u2103″,”tem2″:”5\u2103″,”tem”:”3\u2103″,”win”:[“\u5317\u98ce”,”\u5317\u98ce”],”win_speed”:”<3\u7ea7″,”hours”:[{“day”:”24\u65e508\u65f6″,”wea”:”\u6674″,”tem”:”3\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”24\u65e511\u65f6″,”wea”:”\u6674″,”tem”:”8\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”24\u65e514\u65f6″,”wea”:”\u6674″,”tem”:”12\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”24\u65e517\u65f6″,”wea”:”\u6674″,”tem”:”11\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”24\u65e520\u65f6″,”wea”:”\u6674″,”tem”:”8\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”24\u65e523\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”7\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”25\u65e502\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”6\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”25\u65e505\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”5\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″}],”index”:[{“title”:”\u7d2b\u5916\u7ebf\u6307\u6570″,”level”:”\u4e2d\u7b49″,”desc”:”\u6d82\u64e6SPF\u5927\u4e8e15\u3001PA+\u9632\u6652\u62a4\u80a4\u54c1\u3002″},{“title”:”<\/em><em>”,”level”:null,”desc”:”\u5929\u6c14\u8f83\u8212\u9002\uff0c\u51cf\u80a5\u6b63\u5f53\u65f6\u3002″},{“title”:”\u5065\u81fb\u00b7\u8840\u7cd6\u6307\u6570″,”level”:”\u4e0d\u6613\u6ce2\u52a8″,”desc”:”\u5929\u6c14\u6761\u4ef6\u597d\uff0c\u8840\u7cd6\u4e0d\u6613\u6ce2\u52a8\uff0c\u53ef\u9002\u65f6\u8fdb\u884c\u6237\u5916\u953b\u70bc\u3002″},{“title”:”\u7a7f\u8863\u6307\u6570″,”level”:”\u8f83\u51b7″,”desc”:”\u5efa\u8bae\u7740\u539a\u5916\u5957\u52a0\u6bdb\u8863\u7b49\u670d\u88c5\u3002″},{“title”:”\u6d17\u8f66\u6307\u6570″,”level”:”\u8f83\u9002\u5b9c”,”desc”:”\u65e0\u96e8\u4e14\u98ce\u529b\u8f83\u5c0f\uff0c\u6613\u4fdd\u6301\u6e05\u6d01\u5ea6\u3002″},{“title”:”\u7a7a\u6c14\u6c61\u67d3\u6269\u6563\u6307\u6570″,”level”:”\u4e2d”,”desc”:”\u6613\u611f\u4eba\u7fa4\u5e94\u9002\u5f53\u51cf\u5c11\u5ba4\u5916\u6d3b\u52a8\u3002″}]},{“day”:”25\u65e5\uff08\u540e\u5929\uff09″,”date”:”2019-01-25″,”week”:”\u661f\u671f\u4e94″,”wea”:”\u591a\u4e91″,”wea_img”:”yun”,”tem1″:”11\u2103″,”tem2″:”4\u2103″,”tem”:”5\u2103″,”win”:[“\u5317\u98ce”,”\u5317\u98ce”],”win_speed”:”6-7\u7ea7\u8f6c4-5\u7ea7″,”hours”:[{“day”:”25\u65e508\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”5\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”25\u65e511\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”8\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″},{“day”:”25\u65e514\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”10\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”5-6\u7ea7″},{“day”:”25\u65e517\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”9\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”6-7\u7ea7″},{“day”:”25\u65e520\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”6\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”6-7\u7ea7″},{“day”:”25\u65e523\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”6\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″},{“day”:”26\u65e502\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”6\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″},{“day”:”26\u65e505\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”6\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″}],”index”:[{“title”:”\u7d2b\u5916\u7ebf\u6307\u6570″,”level”:”\u6700\u5f31″,”desc”:”\u8f90\u5c04\u5f31\uff0c\u6d82\u64e6SPF8-12\u9632\u6652\u62a4\u80a4\u54c1\u3002″},{“title”:”<\/em><em><\/em><em><\/em><em>”,”level”:null,”desc”:”\u5927\u98ce\u5929\uff0c\u5ba4\u5185\u8fd0\u52a8\u4e0b\u3002″},{“title”:”\u5065\u81fb\u00b7\u8840\u7cd6\u6307\u6570″,”level”:”\u4e0d\u6613\u6ce2\u52a8″,”desc”:”\u5929\u6c14\u6761\u4ef6\u4e0d\u6613\u5f15\u8d77\u8840\u7cd6\u6ce2\u52a8\u3002″},{“title”:”\u7a7f\u8863\u6307\u6570″,”level”:”\u8f83\u51b7″,”desc”:”\u5efa\u8bae\u7740\u539a\u5916\u5957\u52a0\u6bdb\u8863\u7b49\u670d\u88c5\u3002″},{“title”:”\u6d17\u8f66\u6307\u6570″,”level”:”\u8f83\u4e0d\u5b9c”,”desc”:”\u98ce\u529b\u8f83\u5927\uff0c\u6d17\u8f66\u540e\u4f1a\u8499\u4e0a\u7070\u5c18\u3002″},{“title”:”\u7a7a\u6c14\u6c61\u67d3\u6269\u6563\u6307\u6570″,”level”:”\u4f18″,”desc”:”\u6c14\u8c61\u6761\u4ef6\u975e\u5e38\u6709\u5229\u4e8e\u7a7a\u6c14\u6c61\u67d3\u7269\u6269\u6563\u3002″}]},{“day”:”26\u65e5\uff08\u5468\u516d\uff09″,”date”:”2019-01-26″,”week”:”\u661f\u671f\u516d”,”wea”:”\u6674″,”wea_img”:”qing”,”tem1″:”8\u2103″,”tem2″:”3\u2103″,”tem”:”4\u2103″,”win”:[“\u5317\u98ce”,”\u5317\u98ce”],”win_speed”:”4-5\u7ea7″,”hours”:[{“day”:”26\u65e508\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”4\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″},{“day”:”26\u65e514\u65f6″,”wea”:”\u6674″,”tem”:”7\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″},{“day”:”26\u65e520\u65f6″,”wea”:”\u6674″,”tem”:”5\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″},{“day”:”27\u65e502\u65f6″,”wea”:”\u6674″,”tem”:”3\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″}],”index”:[{“title”:”\u7d2b\u5916\u7ebf\u6307\u6570″,”level”:”\u4e2d\u7b49″,”desc”:”\u6d82\u64e6SPF\u5927\u4e8e15\u3001PA+\u9632\u6652\u62a4\u80a4\u54c1\u3002″},{“title”:”<\/em><em>”,”level”:null,”desc”:”\u98ce\u6709\u70b9\u5927\uff0c\u53ef\u9009\u62e9\u5ba4\u5185\u8fd0\u52a8\u71c3\u8102\u3002″},{“title”:”\u5065\u81fb\u00b7\u8840\u7cd6\u6307\u6570″,”level”:”\u8f83\u6613\u6ce2\u52a8″,”desc”:”\u98ce\u529b\u8f83\u5927\uff0c\u8840\u7cd6\u8f83\u6613\u6ce2\u52a8\uff0c\u6ce8\u610f\u76d1\u6d4b\u3002″},{“title”:”\u7a7f\u8863\u6307\u6570″,”level”:”\u51b7″,”desc”:”\u5efa\u8bae\u7740\u68c9\u8863\u52a0\u7f8a\u6bdb\u886b\u7b49\u51ac\u5b63\u670d\u88c5\u3002″},{“title”:”\u6d17\u8f66\u6307\u6570″,”level”:”\u8f83\u4e0d\u5b9c”,”desc”:”\u98ce\u529b\u8f83\u5927\uff0c\u6d17\u8f66\u540e\u4f1a\u8499\u4e0a\u7070\u5c18\u3002″},{“title”:”\u7a7a\u6c14\u6c61\u67d3\u6269\u6563\u6307\u6570″,”level”:”\u826f”,”desc”:”\u6c14\u8c61\u6761\u4ef6\u6709\u5229\u4e8e\u7a7a\u6c14\u6c61\u67d3\u7269\u6269\u6563\u3002″}]},{“day”:”27\u65e5\uff08\u5468\u65e5\uff09″,”date”:”2019-01-27″,”week”:”\u661f\u671f\u65e5″,”wea”:”\u6674\u8f6c\u591a\u4e91″,”wea_img”:”yun”,”tem1″:”9\u2103″,”tem2″:”4\u2103″,”tem”:”3\u2103″,”win”:[“\u5317\u98ce”,”\u5317\u98ce”],”win_speed”:”3-4\u7ea7\u8f6c4-5\u7ea7″,”hours”:[{“day”:”27\u65e508\u65f6″,”wea”:”\u6674″,”tem”:”3\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”3-4\u7ea7″},{“day”:”27\u65e514\u65f6″,”wea”:”\u6674″,”tem”:”8\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”27\u65e520\u65f6″,”wea”:”\u6674″,”tem”:”6\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”3-4\u7ea7″},{“day”:”28\u65e502\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”6\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″}],”index”:[{“title”:”\u7d2b\u5916\u7ebf\u6307\u6570″,”level”:”\u5f31″,”desc”:”\u8f90\u5c04\u8f83\u5f31\uff0c\u6d82\u64e6SPF12-15\u3001PA+\u62a4\u80a4\u54c1\u3002″},{“title”:”<\/em><em>”,”level”:null,”desc”:”\u98ce\u6709\u70b9\u5927\uff0c\u53ef\u9009\u62e9\u5ba4\u5185\u8fd0\u52a8\u71c3\u8102\u3002″},{“title”:”\u5065\u81fb\u00b7\u8840\u7cd6\u6307\u6570″,”level”:”\u4e0d\u6613\u6ce2\u52a8″,”desc”:”\u5929\u6c14\u6761\u4ef6\u4e0d\u6613\u5f15\u8d77\u8840\u7cd6\u6ce2\u52a8\u3002″},{“title”:”\u7a7f\u8863\u6307\u6570″,”level”:”\u8f83\u51b7″,”desc”:”\u5efa\u8bae\u7740\u539a\u5916\u5957\u52a0\u6bdb\u8863\u7b49\u670d\u88c5\u3002″},{“title”:”\u6d17\u8f66\u6307\u6570″,”level”:”\u8f83\u4e0d\u5b9c”,”desc”:”\u98ce\u529b\u8f83\u5927\uff0c\u6d17\u8f66\u540e\u4f1a\u8499\u4e0a\u7070\u5c18\u3002″},{“title”:”\u7a7a\u6c14\u6c61\u67d3\u6269\u6563\u6307\u6570″,”level”:”\u826f”,”desc”:”\u6c14\u8c61\u6761\u4ef6\u6709\u5229\u4e8e\u7a7a\u6c14\u6c61\u67d3\u7269\u6269\u6563\u3002″}]},{“day”:”28\u65e5\uff08\u5468\u4e00\uff09″,”date”:”2019-01-28″,”week”:”\u661f\u671f\u4e00″,”wea”:”\u591a\u4e91″,”wea_img”:”yun”,”tem1″:”9\u2103″,”tem2″:”4\u2103″,”tem”:”5\u2103″,”win”:[“\u5357\u98ce”,”\u4e1c\u5317\u98ce”],”win_speed”:”<3\u7ea7\u8f6c5-6\u7ea7″,”hours”:[{“day”:”28\u65e508\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”5\u2103″,”win”:”\u5317\u98ce”,”win_speed”:”4-5\u7ea7″},{“day”:”28\u65e514\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”8\u2103″,”win”:”\u5357\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”28\u65e520\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”7\u2103″,”win”:”\u5357\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”29\u65e502\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”5\u2103″,”win”:”\u4e1c\u5317\u98ce”,”win_speed”:”5-6\u7ea7″}],”index”:[{“title”:”\u7d2b\u5916\u7ebf\u6307\u6570″,”level”:”\u6700\u5f31″,”desc”:”\u8f90\u5c04\u5f31\uff0c\u6d82\u64e6SPF8-12\u9632\u6652\u62a4\u80a4\u54c1\u3002″},{“title”:”<\/em><em>”,”level”:null,”desc”:”\u5929\u6c14\u8f83\u8212\u9002\uff0c\u51cf\u80a5\u6b63\u5f53\u65f6\u3002″},{“title”:”\u5065\u81fb\u00b7\u8840\u7cd6\u6307\u6570″,”level”:”\u4e0d\u6613\u6ce2\u52a8″,”desc”:”\u5929\u6c14\u6761\u4ef6\u4e0d\u6613\u5f15\u8d77\u8840\u7cd6\u6ce2\u52a8\u3002″},{“title”:”\u7a7f\u8863\u6307\u6570″,”level”:”\u8f83\u51b7″,”desc”:”\u5efa\u8bae\u7740\u539a\u5916\u5957\u52a0\u6bdb\u8863\u7b49\u670d\u88c5\u3002″},{“title”:”\u6d17\u8f66\u6307\u6570″,”level”:”\u8f83\u4e0d\u5b9c”,”desc”:”\u98ce\u529b\u8f83\u5927\uff0c\u6d17\u8f66\u540e\u4f1a\u8499\u4e0a\u7070\u5c18\u3002″},{“title”:”\u7a7a\u6c14\u6c61\u67d3\u6269\u6563\u6307\u6570″,”level”:”\u4e2d”,”desc”:”\u6613\u611f\u4eba\u7fa4\u5e94\u9002\u5f53\u51cf\u5c11\u5ba4\u5916\u6d3b\u52a8\u3002″}]},{“day”:”29\u65e5\uff08\u5468\u4e8c\uff09″,”date”:”2019-01-29″,”week”:”\u661f\u671f\u4e8c”,”wea”:”\u591a\u4e91\u8f6c\u5c0f\u96e8″,”wea_img”:”yun”,”tem1″:”10\u2103″,”tem2″:”6\u2103″,”tem”:”4\u2103″,”win”:[“\u4e1c\u5317\u98ce”,”\u65e0\u6301\u7eed\u98ce\u5411″],”win_speed”:”5-6\u7ea7\u8f6c<3\u7ea7″,”hours”:[{“day”:”29\u65e508\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”4\u2103″,”win”:”\u4e1c\u5317\u98ce”,”win_speed”:”4-5\u7ea7″},{“day”:”29\u65e514\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”9\u2103″,”win”:”\u4e1c\u5317\u98ce”,”win_speed”:”<3\u7ea7″},{“day”:”29\u65e520\u65f6″,”wea”:”\u591a\u4e91″,”tem”:”9\u2103″,”win”:”\u4e1c\u5317\u98ce”,”win_speed”:”5-6\u7ea7″},{“day”:”30\u65e502\u65f6″,”wea”:”\u5c0f\u96e8″,”tem”:”7\u2103″,”win”:”\u65e0\u6301\u7eed\u98ce\u5411″,”win_speed”:”<3\u7ea7″}],”index”:[{“title”:”\u7d2b\u5916\u7ebf\u6307\u6570″,”level”:”\u6700\u5f31″,”desc”:”\u8f90\u5c04\u5f31\uff0c\u6d82\u64e6SPF8-12\u9632\u6652\u62a4\u80a4\u54c1\u3002″},{“title”:”<\/em><em><\/em><em><\/em><em>”,”level”:null,”desc”:”\u5927\u98ce\u5929\uff0c\u5ba4\u5185\u8fd0\u52a8\u4e0b\u3002″},{“title”:”\u5065\u81fb\u00b7\u8840\u7cd6\u6307\u6570″,”level”:”\u4e0d\u6613\u6ce2\u52a8″,”desc”:”\u5929\u6c14\u6761\u4ef6\u4e0d\u6613\u5f15\u8d77\u8840\u7cd6\u6ce2\u52a8\u3002″},{“title”:”\u7a7f\u8863\u6307\u6570″,”level”:”\u8f83\u51b7″,”desc”:”\u5efa\u8bae\u7740\u539a\u5916\u5957\u52a0\u6bdb\u8863\u7b49\u670d\u88c5\u3002″},{“title”:”\u6d17\u8f66\u6307\u6570″,”level”:”\u4e0d\u5b9c”,”desc”:”\u6709\u96e8\uff0c\u96e8\u6c34\u548c\u6ce5\u6c34\u4f1a\u5f04\u810f\u7231\u8f66\u3002″},{“title”:”\u7a7a\u6c14\u6c61\u67d3\u6269\u6563\u6307\u6570″,”level”:”\u4f18″,”desc”:”\u6c14\u8c61\u6761\u4ef6\u975e\u5e38\u6709\u5229\u4e8e\u7a7a\u6c14\u6c61\u67d3\u7269\u6269\u6563\u3002″}]}]}

城市ID

JSON格式 https://cdn.huyahaha.com/tianqiapi/city.json

SQL文件 https://cdn.huyahaha.com/tianqiapi/city.sql

天气类型汇总

[“晴”,”阴”,”多云”,”雨夹雪”,”小雨”,”中雨”,”阵雨”,”小雪”,”中雪”,”大雪”,”大雨”,”雾”,”暴雨”,”雷阵雨”,”阵雪”,”暴雪”,”扬沙”,”大暴雨”,”霾”,”浮尘”,”晴转多云”,”小雪转晴”,”多云转晴”,”多云转阴”,”晴转阴”,”阴转多云”,”多云转小雪”,”阵雪转晴”,”晴转阵雪”,”小雪转多云”,”小雨转多云”,”晴转小雪”,”多云转雨夹雪”,”多云转阵雪”,”阵雨转多云”,”多云转小雨”,”多云转阵雨”,”阵雪转小雪”,”阴转小雪”,”小雪转阴”,”阵雪转多云”,”阴转晴”,”阴转阵雪”,”阵雪转阴”,”扬沙转多云”,”扬沙转晴”,”浮尘转晴”,”晴转雨夹雪”,”多云转中雪”,”晴转中雪”,”阴转小雨”,”小雨转中雨”,”小雨转阴”,”中雨转多云”,”中雨转小雨”,”阴转中雨”,”多云转中雨”,”小雨转大雨”,”阵雨转中雨”,”阵雨转大雨”,”阴转大雨”,”雾转多云”,”阵雨转小雨”,”中雨转阴”,”晴转小雨”,”多云转大雨”,”小雨转暴雨”,”阵雨转晴”,”小雨转晴”,”阵雨转中到大雨”,”小雨转阵雨”,”阵雨转阴”,”雨夹雪转晴”,”雨夹雪转多云”,”小雨转小雪”,”小雪转雨夹雪”,”阴转阵雨”,”小雨转小到中雨”,”小到中雨转小雨”,”小到中雨转阴”,”晴转阵雨”,”中雨转阵雨”,”阵雨转雷阵雨”,”多云转大雪”,”阴转中雪”,”阴转大雪”,”雨夹雪转阴”,”雨夹雪转小雪”,”小雨转大雪”,”雨夹雪转大雪”,”雨夹雪转中雪”,”中雨转小雪”,”中雨转中雪”,”晴转大雪”,”小雨转雨夹雪”,”阴转雨夹雪”,”多云转雾”,”小雪转阵雪”,”小雪转中雪”,”多云转小到中雪”,”中雪转多云”,”中雪转小雪”,”大雪转小雪”,”中雨转大雨”,”阵雨转雨夹雪”,”多云转小到中雨”,”小到中雨”,”小到中雨转阵雨”,”小雨转阵雪”,”雷阵雨转多云”,”雷阵雨转阵雨”,”多云转扬沙”,”晴转扬沙”,”扬沙转阴”,”浮尘转霾”,”晴转霾”,”霾转阴”,”霾转多云”,”霾转晴”,”小到中雪转多云”,”大雪转多云”,”雨夹雪转小雨”,”大雨转阴”,”浮尘转多云”,”多云转霾”,”晴转雾”,”小雨转中雪”,”阵雨转小雪”,”晴转雷阵雨”,”阴转雾”]

接口没有调用次数、频率和IP限制,稳定高效、永久免费,请放心使用

IP查询

接口调用 (目前日处理约100万次, 接口没有调用次数、频率和IP限制, 请放心使用!)
接口提交地址: https://ip.tianqiapi.com/
GET参数: ip (必填, 多个ip地址请用, 隔开. 最多支持100个IP, 例如: https://ip.tianqiapi.com/?ip=27.193.13.255,123.125.71.38)
返回结果:

{
"ip":"39.82.135.234",
"country":"中国",
"province":"山东省",
"city":"济南市",
"isp":"联通"
}

更多免费IP归属地接口

转载请注明:老余博客 » 免费天气预报接口调用

读后有收获可以请作者喝咖啡:

喜欢 (2)or分享 (0)
发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址