摘要: 雅虎天气API调用:1.调用方法:http://weather.yahooapis.com/forecastrss?w=2502265&u=c,绿色字体为城市代号,u=c表示取摄氏度。2.如何获取城市代码:(以广州为例)http://sugg.us.search.yahoo.net/gossip-gl-location/?appid=weather&output=xml&command=广 参数:output:输出数据格式,可以是xml或json,默认为xml; command:要查询的城市名称 可能会出现多个项,像这样: 如果是匹配的“广州”关键字,则就只有广州市的c 阅读全文
posted @ 2013-11-18 18:15 清山博客 阅读(5026) 评论(1) 推荐(0)