api
归属地
1淘宝网((精确到省份)
Url:
https://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=手机号
2 sogou(精确到地市)
Url:
http://service.sx.10086.cn/enhance/cust/queryPhoneArea.action POST phone_no=手机号码
3 百度 (精确到地市)
Url:
https://sp0.baidu.com/8aQDcjqpAAV3otqbppnN2DJv/api.php?resource_name=guishudi&query=手机号码
当前城市
1搜狐
Url:
http://pv.sohu.com/cityjson?ie=utf-8
天气
1腾讯
Url:
https://wis.qq.com/weather/common
data: {
source: 'pc',
// weather_type: 'forecast_1h',
weather_type: 'forecast_1h|forecast_24h', // 7d 48h
province: '福建省',
city: '厦门市'
}
全国城市
请求全国所有省份/GET
Url:
https://api.xiaohuwei.cn/test.php?type=province
获取湖北省所有市级单位/GET
Url:
https://api.xiaohuwei.cn/test.php?type=city&pid=10120
获取武汉市所有县级单位/GET
Url:
https://api.xiaohuwei.cn/test.php?type=county&id=101200101
省份
http://115.29.193.2/provinces
城市
http://115.29.193.2/citys/:provinceid
区县
http://115.29.193.2/area/:cityid