11 2013 档案

摘要:雅虎天气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 清山博客 阅读(4989) 评论(1) 推荐(0) 编辑
摘要:using System;using System.IO;using System.Linq;using System.Net;using System.Text;using System.Text.RegularExpressions;namespace Whir.Software.DocumentDownLoader.Library{ /// /// 模拟HTTP操作 /// public class HttpOperater { /// /// 发起Http请求 /// /// ... 阅读全文
posted @ 2013-11-08 17:21 清山博客 阅读(220) 评论(0) 推荐(0) 编辑
摘要:using System;using System.IO;using System.Linq;using System.Net;using System.Text;using System.Text.RegularExpressions;namespace Whir.Software.Documen... 阅读全文
posted @ 2013-11-08 17:21 清山博客 阅读(226) 评论(0) 推荐(0) 编辑
摘要:效果图:完整demo下载 阅读全文
posted @ 2013-11-05 21:11 清山博客 阅读(282) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示