## 1-40日天气预报api接口文档 > 官方网站:https://www.tianqiapi.com/ #### 返回结果 ~~~[api] get:https://www.tianqiapi.com/api/ *appid=appid#appid *appsecret=appsecret#appsecret *version=v3#版本标识(固定值v3) cityid=0#城市编号,不要带CN, 以下参数3选1 city=青岛#城市名称,不要带市和区 ip=0#IP地址 callback=0#jsonp方式 <<< success { "cityid":"101120101", "update_time":"2019-04-18 16:47:11", "city":"济南", "data":[ { "date_nl":"十四", "date":"2019-04-18", "week":"星期四", "wea":"晴转多云", "wea_c":"00", "wea_img":"yun", "tem1":"27", "tem2":"12", "win":"北风4-5级" }, { "date_nl":"十五", "date":"2019-04-19", "week":"星期五", "wea":"多云", "wea_c":"01", "wea_img":"yun", "tem1":"17", "tem2":"10", "win":"北风3-4级转微风" }, { "date_nl":"十六", "date":"2019-04-20", "week":"星期六", "wea":"多云转小雨", "wea_c":"01", "wea_img":"yun", "tem1":"23", "tem2":"12", "win":"微风" }, { "date_nl":"十七", "date":"2019-04-21", "week":"星期日", "wea":"小雨", "wea_c":"07", "wea_img":"yu", "tem1":"20", "tem2":"14", "win":"微风" }, { "date_nl":"十八", "date":"2019-04-22", "week":"星期一", "wea":"阴转多云", "wea_c":"02", "wea_img":"yun", "tem1":"21", "tem2":"13", "win":"微风" }, { "date_nl":"十九", "date":"2019-04-23", "week":"星期二", "wea":"多云", "wea_c":"01", "wea_img":"yun", "tem1":"25", "tem2":"16", "win":"微风" }, { "date_nl":"二十", "date":"2019-04-24", "week":"星期三", "wea":"多云转中雨", "wea_c":"01", "wea_img":"yun", "tem1":"27", "tem2":"18", "win":"南风3-4级转微风" }, { "date_nl":"廿一", "date":"2019-04-25", "week":"星期四", "wea":"多云转雨", "wea_c":"01", "wea_img":"yun", "tem1":"30", "tem2":"16", "win":"西南风3-4级转微风" }, { "date_nl":"廿二", "date":"2019-04-26", "week":"星期五", "wea":"晴转多云", "wea_c":"00", "wea_img":"yun", "tem1":"26", "tem2":"14", "win":"东北风4-5级转微风" }, { "date_nl":"廿三", "date":"2019-04-27", "week":"星期六", "wea":"多云转阴", "wea_c":"01", "wea_img":"yun", "tem1":"27", "tem2":"15", "win":"东风3-4级转微风" }, { "date_nl":"廿四", "date":"2019-04-28", "week":"星期日", "wea":"阴转雨", "wea_c":"02", "wea_img":"yu", "tem1":"25", "tem2":"14", "win":"东风3-4级转微风" }, { "date_nl":"廿五", "date":"2019-04-29", "week":"星期一", "wea":"雨转阴", "wea_c":"301", "wea_img":"yu", "tem1":"21", "tem2":"13", "win":"微风" }, { "date_nl":"廿六", "date":"2019-04-30", "week":"星期二", "wea":"阴", "wea_c":"02", "wea_img":"yin", "tem1":"22", "tem2":"13", "win":"微风" }, { "date_nl":"廿七", "date":"2019-05-01", "week":"星期三", "wea":"阴", "wea_c":"02", "wea_img":"yin", "tem1":"20", "tem2":"12", "win":"东北风4-5级转微风" }, { "date_nl":"廿八", "date":"2019-05-02", "week":"星期四", "wea":"雨", "wea_c":"301", "wea_img":"yu", "tem1":"24", "tem2":"14", "win":"微风" } ] }