免费爬取天气数据常用的几个接口

1,通过城市ID获取该城市天气状况

http://wthrcdn.etouch.cn/weather_mini?citykey=101280601

2,通过城市名称获取该城市天气状况

http://wthrcdn.etouch.cn/weather_mini?city=北京

3,获取所有的城市编码

http://mobile.weather.com.cn/js/citylist.xml
发布了25 篇原创文章 · 获赞 7 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/Javaer_dog/article/details/89812525