首页 > 其他 > 详细

天气预报接口

时间:2014-03-02 06:15:59      阅读:556      评论:0      收藏:0      [点我收藏+]

1. 当前天气

API地址:http://mobile.weather.com.cn/data/sk/101010100.html

bubuko.com,布布扣

sd 湿度

sm 未知

temp 温度

tempF 温度,华氏

time 时间

wd 风向

ws 风速

2. 生活方面

API地址:http://mobile.weather.com.cn/data/zsM/101020500.html

bubuko.com,布布扣

3. 七天天气预报

API地址:http://mobile.weather.com.cn/data/forecast/101010100.html

bubuko.com,布布扣

fa 白天图片id http://mobile.weather.com.cn/images/small/day/00.png

fb 夜晚图片id http://mobile.weather.com.cn/images/small/night/00.png

fc 白天温度

fd 夜晚温度

fi 日出和日落时间

4. 过去24小时趋势

API地址:http://mobile.weather.com.cn/data/UsedLive/101010100.html

bubuko.com,布布扣

l1 温度

l2 湿度

l3 风速

l4 风向(1东北,2东,3东南,4南,5西南,6西,7西北,8北)

l6 雨量

l7 时间

5. 3小时天气预报(7天)

API地址:http://mobile.weather.com.cn/data/forecast3h/101010100.html

bubuko.com,布布扣

ja 图片id http://mobile.weather.com.cn/images/day/00.png

jb 最高温度

jc 最低温度

jh 起始时间

ji 结束时间

6. 当前空气质量

API地址:http://mobile.weather.com.cn/data/airnow/101020100.html

bubuko.com,布布扣

p2 当前空气质量(0-50优,50-100良,100-150轻污染,150-200不健康,200-300危险,300-500有毒)(超过300后,一般用?代替)

p9 测量空气质量时间

天气预报接口,布布扣,bubuko.com

天气预报接口

原文:http://www.cnblogs.com/txw1958/p/weather-forecast-api.html

(0)
(0)
   
举报
评论 一句话评论(0
分享档案
最新文章
教程昨日排行
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!