新写的中国天气网api接口类,分享给大家(妈妈再也不用担心我出门被天气君欺负了)。
只需修改两个参数($private_key、$appid)即可使用,这两个参数从中国天气网获取,地址是;
http://openweather.weather.com.cn/
以下是类及使用示例
<?php
/**
* 中国天气网天气API接口类
* 获取中国天气网天气数据,接口申请地址:http://openweather.weather.com.cn/
* Copyright (c) 2014-2015 http://www.linglingtang.com, All rights reserved.
* Author: 陈永鹏Yoper <chen.yong.peng@foxmail.com>
*/
class Weather{
//private_key,从中国天气网获取
private $private_key='206f6c***********';
//appid,从中国天气网获取
private $appid='194***********';
//天气现象编码对应
protected $weather_phenomenon_arr= array(
'00'=>array('NAMEEN'=>'Sunny','NAMECN'=>'晴'),
'01'=>array('NAMEEN'=>'Cloudy','NAMECN'=>'多云'),
'02'=>array('NAMEEN'=>'Overcast','NAMECN'=>'阴'),
'03'=>array('NAMEEN'=>'Shower','NAMECN'=>'阵雨'),
'04'=>array('NAMEEN'=>'Thundershower','NAMECN'=>'雷阵雨'),
'05'=>array('NAMEEN'=>'Thundershower with hail','NAMECN'=>'雷阵雨伴有冰雹'),
'06'=>array('NAMEEN'=>'Sleet','NAMECN'=>'雨夹雪'),
'07'=>array('NAMEEN'=>'Light rain','NAMECN'=>'小雨'),
'08'=>array('NAMEEN'=>'Moderate rain','NAMECN'=>'中雨'),
'09'=>array('NAMEEN'=>'Heavy rain','NAMECN'=>'大雨'),
'10'=>array('NAMEEN'=>'Storm','NAMECN'=>'暴雨'),
'11'=>array('NAMEEN'=>'Heavy storm','NAMECN'=>'大暴雨'),
'12'=>array('NAMEEN'=>'Severe storm','NAMECN'=>'特大暴雨'),
'13'=>array('NAMEEN'=>'Snow flurry','NAMECN'=>'阵雪'),
'14'=>array('NAMEEN'=>'Light snow','NAMECN'=>'小雪'),
'15'=>array('NAMEEN'=>'Moderate snow','NAMECN'=>'中雪'),
'16'=>array('NAMEEN'=>'Heavy snow','NAMECN'=>'大雪'),
'17'=>array('NAMEEN'=>'Snowstorm','NAMECN'=>'暴雪'),
'18'=>array('NAMEEN'=>'Foggy','NAMECN'=>'雾'),
'19'=>array('NAMEEN'=>'Ice rain','NAMECN'=>'冻雨'),
'20'=>array('NAMEEN'=>'Duststorm','NAMECN'=>'沙尘暴'),
'21'=>array('NAMEEN'=>'Light to moderate rain','NAMECN'=>'小到中雨 '),
'22'=>array('NAMEEN'=>'Moderate to heavy rain','NAMECN'=>'中到大雨'),
'23'=>array('NAMEEN'=>'Heavy rain to storm','NAMECN'=>'大到暴雨'),
'24'=>array('NAMEEN'=>'Storm to heavy storm','NAMECN'=>'暴雨到大暴雨'),
'25'=>array('NAMEEN'=>'Heavy to severe storm','NAMECN'=>'大暴雨到特大暴雨'),
'26'=>array('NAMEEN'=>'Light to moderate snow','NAMECN'=>'小到中雪 '),
'27'=>array('NAMEEN'=>'Moderate to heavy snow','NAMECN'=>'中到大雪'),
'28'=>array('NAMEEN'=>'Heavy snow to snowstorm','NAMECN'=>'大到暴雪'),
'29'=>array('NAMEEN'=>'Dust','NAMECN'=>'浮尘'),
'30'=>array('NAMEEN'=>'Sand','NAMECN'=>'扬沙'),
'31'=>array('NAMEEN'=>'Sandstorm','NAMECN'=>'强沙尘暴'),
'53'=>array('NAMEEN'=>'Haze','NAMECN'=>'霾'),
'99'=>array('NAMEEN'=>'Unknown','NAMECN'=>'无'),
);
//风力编码
protected $wind_power_arr=array(
'0'=>array('NAMEEN'=>'No wind','NAMECN'=>'无持续风向'),
'1'=>array('NAMEEN'=>'Northeast','NAMECN'=>'东北风'),
'2'=>array('NAMEEN'=>'East','NAMECN'=>'东风'),
'3'=>array('NAMEEN'=>'Southeast','NAMECN'=>'东南风'),
'4'=>array('NAMEEN'=>'South','NAMECN'=>'南风'),
'5'=>array('NAMEEN'=>'Southwest','NAMECN'=>'西南风 '),
'6'=>array('NAMEEN'=>'West','NAMECN'=>'西风'),
'7'=>array('NAMEEN'=>'Northwest','NAMECN'=>'西北风'),
'8'=>array('NAMEEN'=>'North','NAMECN'=>'北风'),
'9'=>array('NAMEEN'=>'Whirl wind','NAMECN'=>'旋转风'),
);
//风向编码
protected $wind_direction_arr=array(
'0'=>array('NAMEEN'=>'<10m/h','NAMECN'=>'微风'),
'1'=>array('NAMEEN'=>'10~17m/h','NAMECN'=>'3-4 级'),
'2'=>array('NAMEEN'=>'17~25m/h','NAMECN'=>'4-5 级'),
'3'=>array('NAMEEN'=>'25~34m/h','NAMECN'=>'5-6 级'),
'4'=>array('NAMEEN'=>'34~43m/h','NAMECN'=>'6-7 级'),
'5'=>array('NAMEEN'=>'43~54m/h','NAMECN'=>'7-8 级'),
'6'=>array('NAMEEN'=>'54~65m/h','NAMECN'=>'8-9 级'),
'7'=>array('NAMEEN'=>'65~77m/h','NAMECN'=>'9-10 级'),
'8'=>array('NAMEEN'=>'77~89m/h','NAMECN'=>'10-11 级'),
'9'=>array('NAMEEN'=>'89~102m/h','NAMECN'=>'11-12 级'),
);
public $areaids_arr=array(
'101010100'=>array(
'AREAID'=>'101010100',//区域 ID
'NAMEEN'=>'beijing',//城市英文名
'NAMECN'=>'北京',//城市中文名
'DISTRICTEN'=>'beijing',//城市所在市英文名
'DISTRICTCN'=>'北京',//城市所在市中文名
'PROVEN'=>'beijing',//城市所在省英文名
'PROVCN'=>'北京',//城市所在省中文名
'NATIONEN'=>'china',//城市所在国家英文名
'NATIONCN'=>'中国',//城市所在国家中文名
),
'101020100'=>array('AREAID'=>'101020100','NAMEEN'=>'shanghai','NAMECN'=>'上海','DISTRICTEN'=>'shanghai','DISTRICTCN'=>'上海','PROVEN'=>'shanghai','PROVCN'=>'上海','NATIONEN'=>'china','NATIONCN'=>'中国'),
'101030100'=>array(
'AREAID'=>'101030100',//区域 ID
'NAMEEN'=>'tianjin',//城市英文名
'NAMECN'=>'天津',//城市中文名
'DISTRICTEN'=>'tianjin',//城市所在市英文名
'DISTRICTCN'=>'天津',//城市所在市中文名
'PROVEN'=>'tianjin',//城市所在省英文名
'PROVCN'=>'天津',//城市所在省中文名
'NATIONEN'=>'china',//城市所在国家英文名
'NATIONCN'=>'中国',//城市所在国家中文名
),
'101040100'=>array(
'AREAID'=>'101040100',//区域 ID
'NAMEEN'=>'chongqing',//城市英文名
'NAMECN'=>'重庆',//城市中文名
'DISTRICTEN'=>'chongqing',//城市所在市英文名
'DISTRICTCN'=>'重庆',//城市所在市中文名
'PROVEN'=>'chongqing',//城市所在省英文名
'PROVCN'=>'重庆',//城市所在省中文名
'NATIONEN'=>'china',//城市所在国家英文名
'NATIONCN'=>'中国',//城市所在国家中文名
),
'101050101'=>array('AREAID'=>'101050101', 'NAMEEN'=>'haerbin', 'NAMECN'=>'哈尔滨', 'DISTRICTEN'=>'haerbin', 'DISTRICTCN'=>'哈尔滨', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101050201'=>array('AREAID'=>'101050201', 'NAMEEN'=>'qiqihaer', 'NAMECN'=>'齐齐哈尔', 'DISTRICTEN'=>'qiqihaer', 'DISTRICTCN'=>'齐齐哈尔', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101050301'=>array('AREAID'=>'101050301', 'NAMEEN'=>'mudanjiang', 'NAMECN'=>'牡丹江', 'DISTRICTEN'=>'mudanjiang', 'DISTRICTCN'=>'牡丹江', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101050401'=>array('AREAID'=>'101050401', 'NAMEEN'=>'jiamusi', 'NAMECN'=>'佳木斯', 'DISTRICTEN'=>'jiamusi', 'DISTRICTCN'=>'佳木斯', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101050501'=>array('AREAID'=>'101050501', 'NAMEEN'=>'suihua', 'NAMECN'=>'绥化', 'DISTRICTEN'=>'suihua', 'DISTRICTCN'=>'绥化', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101050601'=>array('AREAID'=>'101050601', 'NAMEEN'=>'heihe', 'NAMECN'=>'黑河', 'DISTRICTEN'=>'heihe', 'DISTRICTCN'=>'黑河', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101050701'=>array('AREAID'=>'101050701', 'NAMEEN'=>'daxinganling', 'NAMECN'=>'大兴安岭', 'DISTRICTEN'=>'daxinganling', 'DISTRICTCN'=>'大兴安岭', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101050801'=>array('AREAID'=>'101050801', 'NAMEEN'=>'yichun', 'NAMECN'=>'伊春', 'DISTRICTEN'=>'yichun', 'DISTRICTCN'=>'伊春', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101050901'=>array('AREAID'=>'101050901', 'NAMEEN'=>'daqing', 'NAMECN'=>'大庆', 'DISTRICTEN'=>'daqing', 'DISTRICTCN'=>'大庆', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101051002'=>array('AREAID'=>'101051002', 'NAMEEN'=>'qitaihe', 'NAMECN'=>'七台河', 'DISTRICTEN'=>'qitaihe', 'DISTRICTCN'=>'七台河', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101051101'=>array('AREAID'=>'101051101', 'NAMEEN'=>'jixi', 'NAMECN'=>'鸡西', 'DISTRICTEN'=>'jixi', 'DISTRICTCN'=>'鸡西', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101051201'=>array('AREAID'=>'101051201', 'NAMEEN'=>'hegang', 'NAMECN'=>'鹤岗', 'DISTRICTEN'=>'hegang', 'DISTRICTCN'=>'鹤岗', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101051301'=>array('AREAID'=>'101051301', 'NAMEEN'=>'shuangyashan', 'NAMECN'=>'双鸭山', 'DISTRICTEN'=>'shuangyashan', 'DISTRICTCN'=>'双鸭山', 'PROVEN'=>'heilongjiang', 'PROVCN'=>'黑龙江', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060101'=>array('AREAID'=>'101060101', 'NAMEEN'=>'changchun', 'NAMECN'=>'长春', 'DISTRICTEN'=>'changchun', 'DISTRICTCN'=>'长春', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060201'=>array('AREAID'=>'101060201', 'NAMEEN'=>'jilin', 'NAMECN'=>'吉林', 'DISTRICTEN'=>'jilin', 'DISTRICTCN'=>'吉林', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060301'=>array('AREAID'=>'101060301', 'NAMEEN'=>'yanji', 'NAMECN'=>'延吉', 'DISTRICTEN'=>'yanji', 'DISTRICTCN'=>'延边', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060401'=>array('AREAID'=>'101060401', 'NAMEEN'=>'siping', 'NAMECN'=>'四平', 'DISTRICTEN'=>'siping', 'DISTRICTCN'=>'四平', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060501'=>array('AREAID'=>'101060501', 'NAMEEN'=>'tonghua', 'NAMECN'=>'通化', 'DISTRICTEN'=>'tonghua', 'DISTRICTCN'=>'通化', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060601'=>array('AREAID'=>'101060601', 'NAMEEN'=>'baicheng', 'NAMECN'=>'白城', 'DISTRICTEN'=>'baicheng', 'DISTRICTCN'=>'白城', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060701'=>array('AREAID'=>'101060701', 'NAMEEN'=>'liaoyuan', 'NAMECN'=>'辽源', 'DISTRICTEN'=>'liaoyuan', 'DISTRICTCN'=>'辽源', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060801'=>array('AREAID'=>'101060801', 'NAMEEN'=>'songyuan', 'NAMECN'=>'松原', 'DISTRICTEN'=>'songyuan', 'DISTRICTCN'=>'松原', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101060901'=>array('AREAID'=>'101060901', 'NAMEEN'=>'baishan', 'NAMECN'=>'白山', 'DISTRICTEN'=>'baishan', 'DISTRICTCN'=>'白山', 'PROVEN'=>'jilin', 'PROVCN'=>'吉林', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070101'=>array('AREAID'=>'101070101', 'NAMEEN'=>'shenyang', 'NAMECN'=>'沈阳', 'DISTRICTEN'=>'shenyang', 'DISTRICTCN'=>'沈阳', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070201'=>array('AREAID'=>'101070201', 'NAMEEN'=>'dalian', 'NAMECN'=>'大连', 'DISTRICTEN'=>'dalian', 'DISTRICTCN'=>'大连', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070301'=>array('AREAID'=>'101070301', 'NAMEEN'=>'anshan', 'NAMECN'=>'鞍山', 'DISTRICTEN'=>'anshan', 'DISTRICTCN'=>'鞍山', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070401'=>array('AREAID'=>'101070401', 'NAMEEN'=>'fushun', 'NAMECN'=>'抚顺', 'DISTRICTEN'=>'fushun', 'DISTRICTCN'=>'抚顺', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070501'=>array('AREAID'=>'101070501', 'NAMEEN'=>'benxi', 'NAMECN'=>'本溪', 'DISTRICTEN'=>'benxi', 'DISTRICTCN'=>'本溪', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070601'=>array('AREAID'=>'101070601', 'NAMEEN'=>'dandong', 'NAMECN'=>'丹东', 'DISTRICTEN'=>'dandong', 'DISTRICTCN'=>'丹东', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070701'=>array('AREAID'=>'101070701', 'NAMEEN'=>'jinzhou', 'NAMECN'=>'锦州', 'DISTRICTEN'=>'jinzhou', 'DISTRICTCN'=>'锦州', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070801'=>array('AREAID'=>'101070801', 'NAMEEN'=>'yingkou', 'NAMECN'=>'营口', 'DISTRICTEN'=>'yingkou', 'DISTRICTCN'=>'营口', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101070901'=>array('AREAID'=>'101070901', 'NAMEEN'=>'fuxin', 'NAMECN'=>'阜新', 'DISTRICTEN'=>'fuxin', 'DISTRICTCN'=>'阜新', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101071001'=>array('AREAID'=>'101071001', 'NAMEEN'=>'liaoyang', 'NAMECN'=>'辽阳', 'DISTRICTEN'=>'liaoyang', 'DISTRICTCN'=>'辽阳', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101071101'=>array('AREAID'=>'101071101', 'NAMEEN'=>'tieling', 'NAMECN'=>'铁岭', 'DISTRICTEN'=>'tieling', 'DISTRICTCN'=>'铁岭', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101071201'=>array('AREAID'=>'101071201', 'NAMEEN'=>'chaoyang', 'NAMECN'=>'朝阳', 'DISTRICTEN'=>'chaoyang', 'DISTRICTCN'=>'朝阳', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101071301'=>array('AREAID'=>'101071301', 'NAMEEN'=>'panjin', 'NAMECN'=>'盘锦', 'DISTRICTEN'=>'panjin', 'DISTRICTCN'=>'盘锦', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101071401'=>array('AREAID'=>'101071401', 'NAMEEN'=>'huludao', 'NAMECN'=>'葫芦岛', 'DISTRICTEN'=>'huludao', 'DISTRICTCN'=>'葫芦岛', 'PROVEN'=>'liaoning', 'PROVCN'=>'辽宁', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080101'=>array('AREAID'=>'101080101', 'NAMEEN'=>'huhehaote', 'NAMECN'=>'呼和浩特', 'DISTRICTEN'=>'huhehaote', 'DISTRICTCN'=>'呼和浩特', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080201'=>array('AREAID'=>'101080201', 'NAMEEN'=>'baotou', 'NAMECN'=>'包头', 'DISTRICTEN'=>'baotou', 'DISTRICTCN'=>'包头', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080301'=>array('AREAID'=>'101080301', 'NAMEEN'=>'wuhai', 'NAMECN'=>'乌海', 'DISTRICTEN'=>'wuhai', 'DISTRICTCN'=>'乌海', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080401'=>array('AREAID'=>'101080401', 'NAMEEN'=>'jining', 'NAMECN'=>'集宁', 'DISTRICTEN'=>'jining', 'DISTRICTCN'=>'集宁', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080501'=>array('AREAID'=>'101080501', 'NAMEEN'=>'tongliao', 'NAMECN'=>'通辽', 'DISTRICTEN'=>'tongliao', 'DISTRICTCN'=>'通辽', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080601'=>array('AREAID'=>'101080601', 'NAMEEN'=>'chifeng', 'NAMECN'=>'赤峰', 'DISTRICTEN'=>'chifeng', 'DISTRICTCN'=>'赤峰', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080701'=>array('AREAID'=>'101080701', 'NAMEEN'=>'eerduosi', 'NAMECN'=>'鄂尔多斯', 'DISTRICTEN'=>'eerduosi', 'DISTRICTCN'=>'鄂尔多斯', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080801'=>array('AREAID'=>'101080801', 'NAMEEN'=>'linhe', 'NAMECN'=>'临河', 'DISTRICTEN'=>'bayannaoer', 'DISTRICTCN'=>'巴彦淖尔', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101080901'=>array('AREAID'=>'101080901', 'NAMEEN'=>'xilinhaote', 'NAMECN'=>'锡林浩特', 'DISTRICTEN'=>'xilinguole', 'DISTRICTCN'=>'锡林郭勒', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101081001'=>array('AREAID'=>'101081001', 'NAMEEN'=>'hailaer', 'NAMECN'=>'海拉尔', 'DISTRICTEN'=>'hulunbeier', 'DISTRICTCN'=>'呼伦贝尔', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101081101'=>array('AREAID'=>'101081101', 'NAMEEN'=>'wulanhaote', 'NAMECN'=>'乌兰浩特', 'DISTRICTEN'=>'xinganmeng', 'DISTRICTCN'=>'兴安盟', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101081201'=>array('AREAID'=>'101081201', 'NAMEEN'=>'azuoqi', 'NAMECN'=>'阿左旗', 'DISTRICTEN'=>'alashanmeng', 'DISTRICTCN'=>'阿拉善盟', 'PROVEN'=>'neimenggu', 'PROVCN'=>'内蒙古', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090101'=>array('AREAID'=>'101090101', 'NAMEEN'=>'shijiazhuang', 'NAMECN'=>'石家庄', 'DISTRICTEN'=>'shijiazhuang', 'DISTRICTCN'=>'石家庄', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090201'=>array('AREAID'=>'101090201', 'NAMEEN'=>'baoding', 'NAMECN'=>'保定', 'DISTRICTEN'=>'baoding', 'DISTRICTCN'=>'保定', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090301'=>array('AREAID'=>'101090301', 'NAMEEN'=>'zhangjiakou', 'NAMECN'=>'张家口', 'DISTRICTEN'=>'zhangjiakou', 'DISTRICTCN'=>'张家口', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090402'=>array('AREAID'=>'101090402', 'NAMEEN'=>'chengde', 'NAMECN'=>'承德', 'DISTRICTEN'=>'chengde', 'DISTRICTCN'=>'承德', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090501'=>array('AREAID'=>'101090501', 'NAMEEN'=>'tangshan', 'NAMECN'=>'唐山', 'DISTRICTEN'=>'tangshan', 'DISTRICTCN'=>'唐山', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090601'=>array('AREAID'=>'101090601', 'NAMEEN'=>'langfang', 'NAMECN'=>'廊坊', 'DISTRICTEN'=>'langfang', 'DISTRICTCN'=>'廊坊', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090701'=>array('AREAID'=>'101090701', 'NAMEEN'=>'cangzhou', 'NAMECN'=>'沧州', 'DISTRICTEN'=>'cangzhou', 'DISTRICTCN'=>'沧州', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090801'=>array('AREAID'=>'101090801', 'NAMEEN'=>'hengshui', 'NAMECN'=>'衡水', 'DISTRICTEN'=>'hengshui', 'DISTRICTCN'=>'衡水', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101090901'=>array('AREAID'=>'101090901', 'NAMEEN'=>'xingtai', 'NAMECN'=>'邢台', 'DISTRICTEN'=>'xingtai', 'DISTRICTCN'=>'邢台', 'PROVEN'=>'hebei', 'PROVCN'=>'河北', 'NATIONEN'=>'china', 'NATIONCN'=>'中国'),
'101091001'=>array('AREAID'=>'101091001', 'NAMEEN'=>'handan', 'NAMECN'=>'邯郸', 'DISTRICTEN'=>'handan', 'DISTRICTCN'=>'邯郸', 'PROVEN'=