集宁市天气预报15天气_集宁天气预报15天天气
大家好,今天我来为大家揭开“集宁市天气预报15天气”的神秘面纱。为了让大家更好地理解这个问题,我将相关资料进行了整合,现在就让我们一起来探索吧。
1.原平市是几类地区
2.sina 天气预报代码
3.2023知识产权日活动方案
4.iOS开发,想知道国家气象局api返回过来的天气数据将天气总共描述为几种类型,
原平市是几类地区
A类1125 6.5 12.3迎泽区,杏花岭区,尖草坪区,万柏林区,晋源区,小店区,古交市,大同市,区,南郊区,阳泉市,矿山,郊区,长治市,晋城市,泽州县,朔州市朔城区,山西中介关闭,肖毅市吕梁,运城河津市
II 1035 5.9 11.3太原市清徐县,大同市新荣区,长治市郊区,潞城,襄垣县,晋城市高平市,朔州市地区,怀仁县,山阴县,忻州市忻府区,原平市,吕梁市离石区,汾阳市,晋中市榆次区,临汾市尧都区,侯马,霍州,运城盐湖区永济
三945 5.4 10.4太原市阳曲县大同左云,浑源县,大同县,阳泉市,盂县,平定县,长治县市长,屯留县,沁源,阳城县,沁水县,陵川县,全县应朔州市,忻州市定襄县,代县,宁武县,吕梁市交口县,交城县,柳林县,晋中市灵石县,左权县,和顺县,昔阳县寿阳县,太谷县,齐县,平遥县,临汾市,翼城县,襄汾县,洪洞县,古县,汾西县,吉县,乡县,蒲,隰县,曲沃县,运城临猗县,稷山县,新绛县,新绛县,芮城县
400 855 4.9 9.4娄烦县,太原,大同,阳高县,广灵县,天镇县,长治市平顺县,沁县,武乡县,壶关县,长子县,理县,朔州市右玉县,忻州市灵县繁峙县,神池,五寨县,河曲县,保德,偏关县,岢岚县,静乐县,五台县,房山,吕梁市兴县,岚县,临县,中阳县,石楼县,文水县,晋中市榆社县,临汾市,县,永和县,安泽县,浮山县,运城闻喜,平陆县,垣曲县,夏县,万荣县
sina 天气预报代码
珠海景山路观光段将于2022年元旦正式开通。它仍然是免费的,但是你需要预约。珠海的朋友大年初一可以去玩。除了观光部分,它也值得一去。
珠海景山道观海段
2022年元旦,珠海景山路管亥段将正式与广大市民和游客“见面”。
观海段沿途有云起馆、湖景酒吧等多个观赏区,山山水水充满惊喜与期待。与年初开通的1号线“川园”段俯瞰圆明新园、主城中轴线、俯瞰港珠澳大桥不同,2号线“管亥”段相对远离繁华都市,行走在山溪的闲适氛围中,坐在吉大水库的静谧中,俯瞰巍峨的石景山,眺望港珠澳大桥的风采,感受南海的澎湃。无论是白天欣赏山川,还是傍晚黄昏感叹,都将是短暂告别城市喧嚣的沉浸式视觉体验。
珠海景山路看海的那段,坐山观水。在嘈杂中很安静。山、海、城自然交融,却又彼此分离。无边界的边界远离城市,贴近自然。它将成为珠海又一道亮丽的风景。
自2021年12月30日起,珠海市景山路根据疫情防控和安全管理需要,可通过“珠海市景山路”小程序预约实施免费限流接收。率先对外开放的管亥段,西起集宁路吉大水库,东至景山公园,全长2.4公里。估计走回去要1小时15分钟。
参观时间:早7点至晚18点
温馨提醒:目前,因景山公园下施工,景山路管亥段需从集宁路水库入口进入。生态停车场还没有投入使用。建议广大市民、游客朋友暂时使用公共交通工具或步行至济宁路出入口。景山路整体配套工程全面完工后,吉大、拱北将增设公园停车场,满足广大市民节假日游览、登山的需求。
珠海景山道串园段
此路段从板嶂山森林公园出发,经澳门回园,至白莲洞公园。重要的节点有山下缆车站、山顶站、观光站、连欣站、观光站、莲澳站。乘坐缆车俯瞰美丽的山景,从观景台俯瞰城市风貌。视角很好~
交通指南
由于停车条件有限,建议乘坐公共交通工具,避免拥堵。
1.乘坐大巴出行的游客可以参考就近选择:
百东园站:B7、12、25、60、2、B2、21、22、202、69、B8;
樟山森林公园(南隧道站):10A、10、11、12、14、22、32、32早高峰线1、32早高峰线2、33、35、K1、K6、K9。
2.自驾车游客可参考最近的停车场:
圆明新园附近停车场:圆明新园在蓝浦路南入口停车场附近,约100个车位;
白莲洞公园停车场:白莲洞公园入口右侧停车场附近约有190个停车位。
:游玩准备
1.游玩前,建议查询一下行程当天的天气情况。景山路订票小程序还可以查天气预报。
2.请提前准备好个人移动电源,步道内的座位上提供少量USB充电插座,供游客应急使用。
3.徒步前保证充足的睡眠时间和营养补充。
4.徒步旅行开始前,可以主动做5-10分钟的拉伸和热身运动,让身体进入运动状态。
2023知识产权日活动方案
名称:新浪天气预报代码
代码 :<IFRAME ID='ifm2' WIDTH='260' HEIGHT='70' ALIGN='CENTER' MARGINWIDTH='0' MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO' src="/iframe/weather/130101.html"></iframe>
说明 :这种适合于在网页的头栏插入。上面的城市可以自定,比如 石家庄可改成别的。
城市代码:
"110100","北京"
"120100","天津"
"130101","石家庄"
"130201","唐山"
"130301","秦皇岛"
"130701","张家口"
"130801","承德"
"131001","廊坊"
"130401","邯郸"
"130501","邢台"
"130601","保定"
"130901","沧州"
"133001","衡水"
"140101","太原"
"140201","大同"
"140301","阳泉"
"140501","晋城"
"140601","朔州"
"142201","忻州"
"142331","离石"
"142401","榆次"
"142601","临汾"
"142701","运城"
"140401","长治"
"150101","呼和浩特"
"150201","包头"
"150301","乌海"
"152601","集宁"
"152701","巴彦浩特"
"152801","临河"
"152921","鄂尔多斯"
"150401","赤峰"
"152301","通辽"
"152502","锡林浩特"
"152101","海拉尔"
"152201","乌兰浩特"
"210101","沈阳"
"210201","大连"
"210301","鞍山"
"210401","抚顺"
"210501","本溪"
"210701","锦州"
"210801","营口"
"210901","阜新"
"211101","盘锦"
"211201","铁岭"
"211301","朝阳"
"211401","葫芦岛"
"210601","丹东"
"220101","长春"
"220201","吉林"
"220301","四平"
"220401","辽源"
"220601","松原"
"222301","白城"
"222401","延边"
"220501","通化"
"230101","哈尔滨"
"230301","鸡西"
"230401","鹤岗"
"230501","双鸭山"
"230701","伊春"
"230801","佳木斯"
"230901","七台河"
"231001","牡丹江"
"232301","绥化"
"230201","齐齐哈尔"
"230601","大庆"
"232601","黑河"
"232700","大兴安岭"
"310100","上海"
"320101","南京"
"320201","无锡"
"320301","徐州"
"320401","常州"
"320501","苏州"
"320600","南通"
"320701","连云港"
"320801","淮阴"
"320901","盐城"
"321001","扬州"
"321101","镇江"
"321102","泰州"
"321103","宿迁"
"330101","杭州"
"330201","宁波"
"330301","温州"
"330401","嘉兴"
"330501","湖州"
"330601","绍兴"
"330701","金华"
"330801","衢州"
"330901","舟山"
"332501","丽水"
"332602","台州"
"340101","合肥"
"340201","芜湖"
"340301","蚌埠"
"340401","淮南"
"340501","马鞍山"
"340601","淮北"
"340701","铜陵"
"340801","安庆"
"341001","黄山市"
"342101","阜阳"
"342201","宿州"
"342301","滁州"
"342401","六安"
"342501","宣城"
"342601","巢湖"
"342901","池州"
"350101","福州"
"350201","厦门"
"350301","莆田"
"350401","三明"
"350501","泉州"
"350601","漳州"
"352101","南平"
"352201","宁德"
"352601","龙岩"
"352602","陇南"
"352603","庆阳"
"360101","南昌"
"360201","景德镇"
"362101","赣州"
"360301","萍乡"
"360401","九江"
"360501","新余"
"360601","鹰潭"
"362201","宜春"
"362301","上饶"
"362401","吉安"
"370101","济南"
"370201","青岛"
"370301","淄博"
"370401","枣庄"
"370501","东营"
"370601","烟台"
"370701","潍坊"
"370801","济宁"
"370901","泰安"
"371001","威海"
"371100","日照"
"372301","滨州"
"372401","德州"
"372501","聊城"
"372801","临沂"
"372901","菏泽"
"372902","莱芜"
"410101","郑州"
"410201","开封"
"410301","洛阳"
"410401","平顶山"
"410501","安阳"
"410601","鹤壁"
"410701","新乡"
"410801","焦作"
"410901","濮阳"
"411001","许昌"
"411101","漯河"
"411201","三门峡"
"412301","商丘"
"412701","周口"
"412801","驻马店"
"412901","南阳"
"413001","信阳"
"420101","武汉"
"420201","黄石"
"420301","十堰"
"420400","随州"
"420501","宜昌"
"420601","襄樊"
"420701","鄂州"
"420801","荆门"
"422103","黄冈"
"422201","孝感"
"422301","咸宁"
"422421","荆州"
"422801","恩施"
"430101","长沙"
"430401","衡阳"
"430501","邵阳"
"432801","郴州"
"432901","永州"
"430801","韶山"
"430802","张家界"
"433001","怀化"
"433101","吉首"
"430201","株洲"
"430301","湘潭"
"430601","岳阳"
"430701","常德"
"432301","益阳"
"432501","娄底"
"440101","广州"
"440301","深圳"
"441501","汕尾"
"441301","惠州"
"441601","河源"
"441801","清远"
"441901","东莞"
"440401","珠海"
"440701","江门"
"441201","肇庆"
"442001","中山"
"440801","湛江"
"440901","茂名"
"440201","韶关"
"440501","汕头"
"441401","梅州"
"441701","阳江"
"441702","潮州"
"441703","顺德"
"441704","揭阳"
"441705","云浮"
"450101","南宁"
"450401","梧州"
"452501","玉林"
"450301","桂林"
"452601","百色"
"452701","河池"
"452802","钦州"
"450201","柳州"
"450501","北海"
"450502","防城港"
"450503","贵港"
"450504","贺州"
"460100","海口"
"460200","三亚"
"460300","西沙群岛"
"510101","成都"
"513321","眉山"
"513101","雅安"
"513229","峨嵋山"
"510301","自贡"
"500100","重庆"
"500102","万州"
"500103","涪陵"
"512901","南充"
"510501","泸州"
"510601","德阳"
"510701","绵阳"
"510901","遂宁"
"511001","内江"
"511101","乐山"
"512501","宜宾"
"510801","广元"
"513021","达州"
"513401","资阳"
"510401","攀枝花"
"510402","阿坝"
"510403","甘孜"
"510404","凉山"
"510405","广安"
"510406","巴中"
"500239","黔江"
"520101","贵阳"
"520200","六盘水"
"522201","铜仁"
"522501","安顺"
"522601","凯里"
"522701","都匀"
"522301","兴义"
"522421","毕节"
"522101","遵义"
"530101","昆明"
"530201","德宏"
"532201","曲靖"
"532301","楚雄"
"532401","玉溪"
"532501","红河"
"532621","文山"
"532721","思茅"
"532101","昭通"
"532821","西双版纳"
"532901","大理"
"533001","保山"
"533121","怒江"
"533221","丽江"
"533321","迪庆"
"533521","临沧"
"540101","拉萨"
"542121","昌都"
"542221","山南"
"542301","日喀则"
"542421","那曲"
"542523","阿里"
"542621","林芝"
"610101","西安"
"610201","铜川"
"610301","宝鸡"
"610401","咸阳"
"612101","渭南"
"612301","汉中"
"612401","安康"
"612501","商洛"
"612601","延安"
"612701","榆林"
"620101","兰州"
"620401","白银"
"620301","金昌"
"620501","天水"
"622201","张掖"
"622301","武威"
"622421","定西"
"622701","平凉"
"622901","临夏"
"620201","嘉峪关"
"622102","酒泉"
"630100","西宁"
"632121","果洛"
"632221","海西"
"632321","格尔木"
"632521","海东"
"632621","海北"
"632721","玉树"
"632802","黄南"
"0101","银川"
"0201","石嘴山"
"2101","吴忠"
"2221","固原"
"650101","乌鲁木齐"
"650201","克拉玛依"
"652101","吐鲁番"
"652201","哈密"
"652301","昌吉"
"652701","博乐"
"652801","库尔勒"
"652901","阿克苏"
"653001","克州"
"653101","喀什"
"654101","伊犁"
"655001","石河子"
"655002","塔城"
"655003","阿勒泰"
"710001","台北"
"211001","辽阳"
"653201","和田"
"820000","澳门"
"810000","香港"
/data/sk/101010100.html
/data/cityinfo/101010100.html
/data/101010100.html
对于第三个接口,返回信息比较全面,也是以json格式提供,格式如下
{"weatherinfo": {//基本信息;"city":"北京","city_en":"beijing","date_y":"2012年2月16日", "date":"", "week":"星期四", "fchh":"11", "cityid":"101010100",//摄氏温度"temp1":"2℃~-7℃","temp2":"1℃~-7℃","temp3":"4℃~-7℃","temp4":"7℃~-5℃","temp5":"5℃~-3℃","temp6":"5℃~-2℃",//华氏温度;"tempF1":"35.6℉~19.4℉","tempF2":"33.8℉~19.4℉","tempF3":"39.2℉~19.4℉","tempF4":"44.6℉~23℉","tempF5":"41℉~26.6℉","tempF6":"41℉~28.4℉",//天气描述;"weather1":"晴","weather2":"晴","weather3":"晴","weather4":"晴转多云","weather5":"多云","weather6":"多云转阴",//天气描述序号"img1":"0","img2":"99","img3":"0","img4":"99","img5":"0","img6":"99","img7":"0","img8":"1","img9":"1","img10":"99","img11":"1","img12":"2","img_single":"0",//名称;"img_title1":"晴","img_title2":"晴","img_title3":"晴","img_title4":"晴","img_title5":"晴","img_title6":"晴","img_title7":"晴","img_title8":"多云","img_title9":"多云","img_title10":"多云","img_title11":"多云","img_title12":"阴","img_title_single":"晴",//风速描述"wind1":"北风3-4级转微风","wind2":"微风","wind3":"微风","wind4":"微风","wind5":"微风","wind6":"微风",//风速级别描述"fx1":"北风","fx2":"微风","fl1":"3-4级转小于3级","fl2":"小于3级","fl3":"小于3级","fl4":"小于3级","fl5":"小于3级","fl6":"小于3级",//今天穿衣指数;"index":"冷","index_d":"天气冷,建议着棉衣、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣或冬大衣。",//48小时穿衣指数"index48":"冷","index48_d":"天气冷,建议着棉衣、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣或冬大衣。",//紫外线及48小时紫外线"index_uv":"弱","index48_uv":"弱",//洗车"index_xc":"适宜",//旅游"index_tr":"一般",//舒适指数"index_co":"较不舒适","st1":"1","st2":"-8","st3":"2","st4":"-4","st5":"5","st6":"-5",//晨练"index_cl":"较不宜",//晾晒"index_ls":"基本适宜",//过敏"index_ag":"极不易发"}}
全国各城市代码如下:
北京: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
1. XML接口 /wmaps/xml/china.xml 这个是全国天气的根节点,列出所有的省,其中的pyName字段是各个省XML的文件名,比如北京的是beijing,那就意味着北京的XML地址为 /wmaps/xml/beijing.xml 一个省的天气,其中列出该省各个市的数据,北京就列出各个区。 tmp1是最低温低,tmp2是最高温度,url非常重要,我们一会儿再说。state1和state2是神马转神马,每个数代表一个天气现象。天气现象非常多,我本想全部分析出来,后来直接放弃了这个想法。因为我看到了一个城市的天气现象的编码是26...我现在知道的有0.晴 1.多云 2.阴 6.雨夹雪 7.小雨 8.中雨 13.阵雪 14.小雪 其中后来发现知道这个没用,这个数字的主要作用是检索的!!!
2. 接口 /img/c0.gif /img/b0.gif /m/i/weatherpic/29x20/d0.gif /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简单很多 /data/101010200.html 这个是北京的JSON数据,那个HTML的名字是根据上文XML中的url得到的。这个JSON中包含了实时数据、7天天气预报、气象指数等丰富的数据
获取省级代码:/data/list3/city.xml?level=1获取城市代码(比如安徽是22):/data/list3/city22.xml?level=2获取区域代码(比如安庆是2206):/data/list3/city2206.xml?level=3获取到安徽省安庆市望江县的代码是220607然后去加上中国代码请求URL:/data/101220607.html就可以获取当地天气。
另外再给几个有用的探索得到的URL:天气 FLASH实况:/sk2/101220607.xml实况FLASH:/sk2/shikuang.swf?id=101220607
三级选择菜单(注明,这里有四个INPUT,其中有一个被隐藏了,可用FIREFOX改下源代码查看):/static/custom/search3.htm
实时天气(很有用哦):/data/sk/101220607.html
1. XML接口
/wmaps/xml/china.xml
这个是全国天气的根节点,列出所有的省,其中的pyName字段是各个省XML的文件名,比如北京的是beijing,那就意味着北京的XML地址为
/wmaps/xml/beijing.xml
一个省的天气,其中列出该省各个市的数据,北京就列出各个区。
tmp1是最低温低,tmp2是最高温度,url非常重要,我们一会儿再说。state1和state2是神马转神马,每个数代表一个天气现 象。天气现象非常多,我本想全部分析出来,后来直接放弃了这个想法。因为我看到了一个城市的天气现象的编码是26...我现在知道的有0.晴 1.多云 2.阴 6.雨夹雪 7.小雨 8.中雨 13.阵雪 14.小雪
其中后来发现知道这个没用,这个数字的主要作用是检索的!!!
2. 接口
/img/c0.gif
/img/b0.gif
/m/i/weatherpic/29x20/d0.gif
/m2/i/icon_weather/29x20/n00.gif
这个图就是天气现象0(晴)的,其他天气现象的依此类推。c打头的是20*20像素的,b打头的是50*46像素的,d打头的是反白的图标,29*20像素,n打头的是夜间反白图标,29*20像素,注意这里的文件名是两位数字!
3. JSON接口
/data/101010100.html/data/sk/101010100.html/data/cityinfo/101010100.html
好了,今天关于“集宁市天气预报15天气”的话题就到这里了。希望大家通过我的介绍对“集宁市天气预报15天气”有更全面、深入的认识,并且能够在今后的学习中更好地运用所学知识。