中国天气网 天气预报API 国家气象局 根据城市名称抓取城市ID,XM
发布时间:2020-12-16 00:23:54 所属栏目:百科 来源:网络整理
导读:国家气象局提供的天气预报接口 接口地址: http://www.weather.com.cn/data/sk/101010100.html http://www.weather.com.cn/data/cityinfo/101010100.html http://m.weather.com.cn/data/101010100.html //全国天气的根节点,列出所有的省 http://flash.weathe
国家气象局提供的天气预报接口
接口地址: http://www.weather.com.cn/data/sk/101010100.html http://www.weather.com.cn/data/cityinfo/101010100.html http://m.weather.com.cn/data/101010100.html //全国天气的根节点,列出所有的省 http://flash.weather.com.cn/wmaps/xml/china.xml, //北京的是beijing,那就意味着北京的XML地址为 http://flash.weather.com.cn/wmaps/xml/beijing.xml (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |