加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

转汇集各种 webservice工厂,快递,ip,天气,身份证,手机,翻

发布时间:2020-12-16 23:25:01 所属栏目:安全 来源:网络整理
导读:webservice工厂接口 http://www.36wu.com [java] ? view plain copy 快递查询接口http: //webservice.36wu.com/ExpressService.asmx ?? ?? ip查询接口http: //webservice.36wu.com/ipService.asmx ?? 天气预报接口http: //webservice.36wu.com/weatherServic

webservice工厂接口 http://www.36wu.com

[java]? view plain copy
  1. 快递查询接口http://webservice.36wu.com/ExpressService.asmx??
  2. ??
  3. ip查询接口http://webservice.36wu.com/ipService.asmx??
  4. 天气预报接口http://webservice.36wu.com/weatherService.asmx??
  5. 身份证查询接口http://webservice.36wu.com/IdCardService.asmx??
  6. 手机归属地接口http://webservice.36wu.com/MobilePhoneService.asmx??
  7. 翻译接口http://webservice.36wu.com/TranslationService.asmx??
  8. 火车时刻接口http://webservice.36wu.com/TrainService.asmx??
  9. 股票查询接口http://webservice.36wu.com/StockService.asmx??
  10. 邮编接口http://webservice.36wu.com/ZipcodeService.asmx??
  11. 二维码Web服务http://webservice.36wu.com/DimensionalCodeService.asmx??
  12. 公交查询Web服务http://webservice.36wu.com/mapService.asmx???
  13. ISBN查询Web服务http://webservice.36wu.com/ISBNService.asmx??
  14. ICP备案查询Web服务http://webservice.36wu.com/ICPServic.asmx??
copy
    //webservice.36wu.com/ICPServic.asmx??



国家气象局提供的天气预报接口

接口地址:

copy
    http://www.weather.com.cn/data/sk/101010100.html??
  1. http://www.weather.com.cn/data/cityinfo/101010100.html??
  2. http://m.weather.com.cn/data/101010100.html??
copy
    //m.weather.com.cn/data/101010100.html??


?

对于第三个接口,返回信息比较全面,也是以json格式提供,格式如下

copy
    {"weatherinfo":?{??
  1. //基本信息;??
  2. "city":"北京","city_en":"beijing",??
  3. "date_y":"2012年2月16日",?"date":"",?"week":"星期四",?"fchh":"11",?"cityid":"101010100",??
  4. //摄氏温度??
  5. "temp1":"2℃~-7℃",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "temp2":"1℃~-7℃",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "temp3":"4℃~-7℃",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "temp4":"7℃~-5℃",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "temp5":"5℃~-3℃",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "temp6":"5℃~-2℃",0); background-color:inherit">//华氏温度;??
  6. "tempF1":"35.6℉~19.4℉",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "tempF2":"33.8℉~19.4℉",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "tempF3":"39.2℉~19.4℉",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "tempF4":"44.6℉~23℉",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "tempF5":"41℉~26.6℉",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "tempF6":"41℉~28.4℉",0); background-color:inherit">//天气描述;??
  7. "weather1":"晴",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "weather2":"晴",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "weather3":"晴",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "weather4":"晴转多云",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "weather5":"多云",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "weather6":"多云转阴",0); background-color:inherit">//天气描述图片序号??
  8. "img1":"0",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img2":"99",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img3":"0",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img4":"99",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img5":"0",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img6":"99",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img7":"0",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img8":"1",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img9":"1",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img10":"99",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img11":"1",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img12":"2",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_single":"0",0); background-color:inherit">//图片名称;??
  9. "img_title1":"晴",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title2":"晴",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title3":"晴",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title4":"晴",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title5":"晴",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title6":"晴",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title7":"晴",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title8":"多云",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title9":"多云",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title10":"多云",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title11":"多云",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title12":"阴",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "img_title_single":"晴",0); background-color:inherit">//风速描述??
  10. "wind1":"北风3-4级转微风",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "wind2":"微风",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "wind3":"微风",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "wind4":"微风",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "wind5":"微风",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "wind6":"微风",0); background-color:inherit">//风速级别描述??
  11. "fx1":"北风",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "fx2":"微风",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "fl1":"3-4级转小于3级",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "fl2":"小于3级",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "fl3":"小于3级",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "fl4":"小于3级",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "fl5":"小于3级",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "fl6":"小于3级",0); background-color:inherit">//今天穿衣指数;??
  12. "index":"冷",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "index_d":"天气冷,建议着棉衣、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣或冬大衣。",0); background-color:inherit">//48小时穿衣指数??
  13. "index48":"冷",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "index48_d":"天气冷,建议着棉衣、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣或冬大衣。",0); background-color:inherit">//紫外线及48小时紫外线??
  14. "index_uv":"弱",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "index48_uv":"弱",0); background-color:inherit">//洗车??
  15. "index_xc":"适宜",0); background-color:inherit">//旅游??
  16. "index_tr":"一般",0); background-color:inherit">//舒适指数??
  17. "index_co":"较不舒适",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> ??
  18. "st1":"1",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "st2":"-8",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "st3":"2",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "st4":"-4",108); list-style:decimal-leading-zero outside; color:inherit; line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "st5":"5",248); line-height:18px; margin:0px!important; padding:0px 3px 0px 10px!important"> "st6":"-5",0); background-color:inherit">//晨练??
  19. "index_cl":"较不宜",0); background-color:inherit">//晾晒??
  20. "index_ls":"基本适宜",0); background-color:inherit">//过敏??
  21. "index_ag":"极不易发"}}??
copy
    "index_ag":"极不易发"}}??


?全国各城市代码如下:

copy
    北京:101010100朝阳:101010300顺义:101010400怀柔:101010500通州:101010600昌平:101010700延庆:101010800丰台:101010900石景山:101011000大兴:101011100房山:101011200密云:101011300门头沟:101011400平谷:101011500八达岭:101011600佛爷顶:101011700汤河口:101011800密云上甸子:101011900斋堂:101012000霞云岭:101012100北京城区:101012200海淀:101010200天津:101030100宝坻:101030300东丽:101030400西青:101030500北辰:101030600蓟县:101031400汉沽:101030800静海:101030900津南:101031000塘沽:101031100大港:101031200武清:101030200宁河:101030700上海:101020100宝山:101020300嘉定:101020500南汇:101020600浦东:101021300青浦:101020800松江:101020900奉贤:101021000崇明:101021100徐家汇:101021200闵行:101020200金山:101020700石家庄:101090101张家口:101090301承德:101090402唐山:101090501秦皇岛:101091101沧州:101090701衡水:101090801邢台:101090901邯郸:101091001保定:101090201廊坊:101090601郑州:101180101新乡:101180301许昌:101180401平顶山:101180501信阳:101180601南阳:101180701开封:101180801洛阳:101180901商丘:101181001焦作:101181101鹤壁:101181201濮阳:101181301周口:101181401漯河:101181501驻马店:101181601三门峡:101181701济源:101181801安阳:101180201合肥:101220101芜湖:101220301淮南:101220401马鞍山:101220501安庆:101220601宿州:101220701阜阳:101220801亳州:101220901黄山:101221001滁州:101221101淮北:101221201铜陵:101221301宣城:101221401六安:101221501巢湖:101221601池州:101221701蚌埠:101220201杭州:101210101舟山:101211101湖州:101210201嘉兴:101210301金华:101210901绍兴:101210501台州:101210601温州:101210701丽水:101210801衢州:101211001宁波:101210401重庆:101040100合川:101040300南川:101040400江津:101040500万盛:101040600渝北:101040700北碚:101040800巴南:101040900长寿:101041000黔江:101041100万州天城:101041200万州龙宝:101041300涪陵:101041400开县:101041500城口:101041600云阳:101041700巫溪:101041800奉节:101041900巫山:101042000潼南:101042100垫江:101042200梁平:101042300忠县:101042400石柱:101042500大足:101042600荣昌:101042700铜梁:101042800璧山:101042900丰都:101043000武隆:101043100彭水:101043200綦江:101043300酉阳:101043400秀山:101043600沙坪坝:101043700永川:101040200福州:101230101泉州:101230501漳州:101230601龙岩:101230701晋江:101230509南平:101230901厦门:101230201宁德:101230301莆田:101230401三明:101230801兰州:101160101平凉:101160301庆阳:101160401武威:101160501金昌:101160601嘉峪关:101161401酒泉:101160801天水:101160901武都:101161001临夏:101161101合作:101161201白银:101161301定西:101160201张掖:101160701广州:101280101惠州:101280301梅州:101280401汕头:101280501深圳:101280601珠海:101280701佛山:101280800肇庆:101280901湛江:101281001江门:101281101河源:101281201清远:101281301云浮:101281401潮州:101281501东莞:101281601中山:101281701阳江:101281801揭阳:101281901茂名:101282001汕尾:101282101韶关:101280201南宁:101300101柳州:101300301来宾:101300401桂林:101300501梧州:101300601防城港:101301401贵港:101300801玉林:101300901百色:101301001钦州:101301101河池:101301201北海:101301301崇左:101300201贺州:101300701贵阳:101260101安顺:101260301都匀:101260401兴义:101260906铜仁:101260601毕节:101260701六盘水:101260801遵义:101260201凯里:101260501昆明:101290101红河:101290301文山:101290601玉溪:101290701楚雄:101290801普洱:101290901昭通:101291001临沧:101291101怒江:101291201香格里拉:101291301丽江:101291401德宏:101291501景洪:101291601大理:101290201曲靖:101290401保山:101290501呼和浩特:101080101乌海:101080301集宁:101080401通辽:101080501阿拉善左旗:101081201鄂尔多斯:101080701临河:101080801锡林浩特:101080901呼伦贝尔:101081000乌兰浩特:101081101包头:101080201赤峰:101080601南昌:101240101上饶:101240301抚州:101240401宜春:101240501鹰潭:101241101赣州:101240701景德镇:101240801萍乡:101240901新余:101241001九江:101240201吉安:101240601武汉:101200101黄冈:101200501荆州:101200801宜昌:101200901恩施:101201001十堰:101201101神农架:101201201随州:101201301荆门:101201401天门:101201501仙桃:101201601潜江:101201701襄樊:101200201鄂州:101200301孝感:101200401黄石:101200601咸宁:101200701成都:101270101自贡:101270301绵阳:101270401南充:101270501达州:101270601遂宁:101270701广安:101270801巴中:101270901泸州:101271001宜宾:101271101内江:101271201资阳:101271301乐山:101271401眉山:101271501凉山:101271601雅安:101271701甘孜:101271801阿坝:101271901德阳:101272001广元:101272101攀枝花:101270201银川:101170101中卫:101170501固原:101170401石嘴山:101170201吴忠:101170301西宁:101150101黄南:101150301海北:101150801果洛:101150501玉树:101150601海西:101150701海东:101150201海南:101150401济南:101120101潍坊:101120601临沂:101120901菏泽:101121001滨州:101121101东营:101121201威海:101121301枣庄:101121401日照:101121501莱芜:101121601聊城:101121701青岛:101120201淄博:101120301德州:101120401烟台:101120501济宁:101120701泰安:101120801西安:101110101延安:101110300榆林:101110401铜川:101111001商洛:101110601安康:101110701汉中:101110801宝鸡:101110901咸阳:101110200渭南:101110501太原:101100101临汾:101100701运城:101100801朔州:101100901忻州:101101001长治:101100501大同:101100201阳泉:101100301晋中:101100401晋城:101100601吕梁:101101100乌鲁木齐:101130101石河子:101130301昌吉:101130401吐鲁番:101130501库尔勒:101130601阿拉尔:101130701阿克苏:101130801喀什:101130901伊宁:101131001塔城:101131101哈密:101131201和田:101131301阿勒泰:101131401阿图什:101131501博乐:101131601克拉玛依:101130201拉萨:101140101山南:101140301阿里:101140701昌都:101140501那曲:101140601日喀则:101140201林芝:101140401台北县:101340101高雄:101340201台中:101340401海口:101310101三亚:101310201东方:101310202临高:101310203澄迈:101310204儋州:101310205昌江:101310206白沙:101310207琼中:101310208定安:101310209屯昌:101310210琼海:101310211文昌:101310212保亭:101310214万宁:101310215陵水:101310216西沙:101310217南沙岛:101310220乐东:101310221五指山:101310222琼山:101310102长沙:101250101株洲:101250301衡阳:101250401郴州:101250501常德:101250601益阳:101250700娄底:101250801邵阳:101250901岳阳:101251001张家界:101251101怀化:101251201黔阳:101251301永州:101251401吉首:101251501湘潭:101250201南京:101190101镇江:101190301苏州:101190401南通:101190501扬州:101190601宿迁:101191301徐州:101190801淮安:101190901连云港:101191001常州:101191101泰州:101191201无锡:101190201盐城:101190701哈尔滨:101050101牡丹江:101050301佳木斯:101050401绥化:101050501黑河:101050601双鸭山:101051301伊春:101050801大庆:101050901七台河:101051002鸡西:101051101鹤岗:101051201齐齐哈尔:101050201大兴安岭:101050701长春:101060101延吉:101060301四平:101060401白山:101060901白城:101060601辽源:101060701松原:101060801吉林:101060201通化:101060501沈阳:101070101鞍山:101070301抚顺:101070401本溪:101070501丹东:101070601葫芦岛:101071401营口:101070801阜新:101070901辽阳:101071001铁岭:101071101朝阳:101071201盘锦:101071301大连:101070201锦州:101070701???
copy
    101070701???

?

?

?

1. XML接口 http://flash.weather.com.cn/wmaps/xml/china.xml 这个是全国天气的根节点,列出所有的省,其中的pyName字段是各个省XML的文件名,比如北京的是beijing,那就意味着北京的XML地址为 http://flash.weather.com.cn/wmaps/xml/beijing.xml 一个省的天气,其中列出该省各个市的数据,北京就列出各个区。 tmp1是最低温低,tmp2是最高温度,url非常重要,我们一会儿再说。state1和state2是神马转神马,每个数代表一个天气现象。天气现象非常多,我本想全部分析出来,后来直接放弃了这个想法。因为我看到了一个城市的天气现象的编码是26...我现在知道的有0.晴 1.多云 2.阴 6.雨夹雪 7.小雨 8.中雨 13.阵雪 14.小雪 其中后来发现知道这个没用,这个数字的主要作用是检索图片的!!!

2. 图片接口?http://m.weather.com.cn/img/c0.gif http://m.weather.com.cn/img/b0.gif http://www.weather.com.cn/m/i/weatherpic/29x20/d0.gif http://www.weather.com.cn/m2/i/icon_weather/29x20/n00.gif 这个图就是天气现象0(晴)的图片,其他天气现象的图片依此类推。c打头的图片是20*20像素的,b打头的是50*46像素的,d打头的是反白的图标,29*20像素,n打头的是夜间反白图标,29*20像素,注意这里的文件名是两位数字! 也许还有更多的图标,等待大家发掘啦~

3. JSON接口 真没想到~居然有JSON接口~JSON在iPhone上分析起来要比XML简单很多 http://m.weather.com.cn/data/101010200.html 这个是北京的JSON数据,那个HTML的名字是根据上文XML中的url得到的。这个JSON中包含了实时数据、7天天气预报、气象指数等丰富的数据

?

?

获取省级代码:http://www.weather.com.cn/data/list3/city.xml?level=1
获取城市代码(比如安徽是22):http://www.weather.com.cn/data/list3/city22.xml?level=2
获取区域代码(比如安庆是2206):http://www.weather.com.cn/data/list3/city2206.xml?level=3
获取到安徽省安庆市望江县的代码是220607
然后去加上中国代码请求URL:http://m.weather.com.cn/data/101220607.html
就可以获取当地天气。

另外再给几个有用的探索得到的URL:
天气 FLASH实况:http://flash.weather.com.cn/sk2/101220607.xml
实况FLASH:http://flash.weather.com.cn/sk2/shikuang.swf?id=101220607

三级选择菜单(注明,这里有四个INPUT,其中有一个被隐藏了,可用FIREFOX改下源代码查看):http://www.weather.com.cn/static/custom/search3.htm
实时天气(很有用哦):http://www.weather.com.cn/data/sk/101220607.html

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读