ip定位查询

2015-04-15 甜籽

ip定位查询:
通过ip可以查询到你所在的地址
参见:http://www.haoservice.com/docs/5
示例:
{
"resultcode": 0,
"reason":"查询成功",
"result": {
"IP":"61.135.185.212",
"address":"北京市中关村电子大厦",
"simpleaddress":"北京市",
"city":"北京市",
"city_code":"131",
"district":"海淀区",
"province":"北京市",
"street":"丹棱街",
"street_number":"",
"baidu_lng": 116.39564504,
"baidu_lat": 39.92998578,
"google_lng": 116.39564504,
"google_lat": 39.92998578
}
}

用户评论
开源开发学习小组列表