`
小嘴看世界
  • 浏览: 129814 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

几个比较有用的webservice

    博客分类:
  • Web
阅读更多
服务1:http://webservice.jaron.cn  
  • HistoryEvent

    返回指定日期下的历史事件

    参数1:SetDateTime(DataTime)
    参数2:LicenceKey 授权码(String) 免费注册授权码
    返回:DataSet

     

  • IP2Area

    返回IP地址所在的城市

    参数1:IPAddress(String)
    参数2:LicenceKey 授权码(String) 免费注册授权码(String)
    返回:string[]

     

  • IdentityCard

    返回身份证前六位所在的城市

    参数1:IdentityCardID 身份证号码前六位(String)
    参数2:LicenceKey 授权码(String) 免费注册授权码
    返回:城市名称 string

     

  • MobileNumberConvert

    返回手机号码段归属地

    参数1:MobileNumber 手机号码前七位(String)
    参数2:LicenceKey 授权码(String) 免费注册授权码
    返回:string[0] 归属地 string[1] 卡类型

     

服务2:http://webservice.jaron.cn/weather.asmx

  • GetWeather

    返回24小时天气预报

    参数1:CityName 中文城市名称(DataTime)
    参数2:LicenceKey 授权码(String) 免费注册授权码
    返回:DataSet
授权验证码可以是任意字符
 

实用Web Service

userid: test
pwd: wopos
手机归属地
地址:http://www.wopos.com/webservice/Mobile.asmx
介绍:使用 getMobileArea(mobileCode) mobileCode-手机号码或前7位
股票走势图
地址:http://www.wopos.com/webservice/Stock.asmx
介绍:使用 getStockChart(StockCode) StockCode-股票代码,返回值为图片的HTTP地址.

IP地址查询
地址:http://www.wopos.com/webservice/ips.asmx
介绍:使用 getIParea(ip)方法返回IP所在地,使用AddIPRange(startIP,EndIP,AreaInfo)增加新的IP地址信息,使用 IpToInt 和 IntToIp可对IP地址从字符串到整型的互相转换.

成语典故
地址:http://www.wopos.com/webservice/chengyu.asmx
介绍:
使用 ChengYuDianGu(chengyu)方法,参数为成语或成语的拼音缩写。如返回多个成语以*_*分隔

生成验证码图像
地址:http://www.wopos.com/webservice/vimg.asmx
介绍:使用 GetVerifyImg(str4,Lenght,Width,Style)生成一张字符图像,用于注册、发贴等场合做图像验证。后面三个参数为保留参数,暂时无效,用于以后扩充。 目前的很简单,仅供测试

RSS种子生成
地址:http://www.wopos.com/webservice/Rss.asmx
介绍:使用 OutPutRss()方法:Rss Item数据项以DataTable 方式提供。数据项数不能超过100调用后直接输出RSS2.0 XML。
例:
Imports System.Data 

王牌网提供的几个实用Web Service文档(www.wopos.com)

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics