中华万年历API
抓包中华万年历得到的接口(JSON):
http://wthrcdn.etouch.cn/weather_mini?city=北京
通过城市名字获得天气数据,json数据
http://wthrcdn.etouch.cn/weather_mini?citykey=101010100
通过城市id获得天气数据,json数据
数据和中国天气网(www.weather.com.cn)一致
数据:
{
"desc": "OK",
"status": 1000,
"data": {
"wendu": "22",
"ganmao": "各项气象条件适宜,无明显降温过程,发生感冒机率较低。",
"forecast": [{
"fengxiang": "南风",
"fengli": "3-4级",
"high": "高温 26℃",
"type": "多云",
"low": "低温 13℃",
"date": "28日星期四"
},
{
"fengxiang": "无持续风向",
"fengli": "微风级",
"high": "高温 28℃",
"type": "多云",
"low": "低温 15℃",
"date": "29日星期五"
},
{
"fengxiang": "无持续风向",
"fengli": "微风级",
"high": "高温 31℃",
"type": "晴",
"low": "低温 15℃",
"date": "30日星期六"
},
{
"fengxiang": "无持续风向",
"fengli": "微风级",
"high": "高温 29℃",
"type": "多云",
"low": "低温 20℃",
"date": "1日星期天"
},
{
"fengxiang": "北风",
"fengli": "4-5级",