周边wifi查询api调用代码示例

周边wifi查询api可查询周边WIFI,返回字段包括热点名称、热点介绍、热点地址、谷歌地图纬度、谷歌地图经度、百度地图纬度、百度地图经度、GPS纬度、GPS经度等。

接口名称:周边wifi查询api

接口平台:聚合数据

接口地址:http://apis.juhe.cn/wifi/local

支持格式:xml/json

请求方式:GET/POST

请求示例:http://apis.juhe.cn/wifi/local?key=appkey&lon=116.366324&lat=39.905859&r=3000&type=1

周边wifi查询api调用代JSON返回示例:

{
"resultcode":"200",
"reason":"Successed!",
"result":{
    "data":[
        {
        "name":"瑞尔威饭店",
        "intro":"中F1旅馆门厅;中F2办公区;中F3-F7奇数层走廊;中F4,F6走廊;东F2餐厅,办公;东F3-F7奇数层走廊;东F4,F6走廊;西F3-F7走廊;西F1快餐厅;西B1公共区域",
        "address":"北京市丰台区北京市丰台区莲花池东路116-2号",
        "google_lat":"39.896877",
        "google_lon":"116.325342",
        "baidu_lat":"39.9026269139",
        "baidu_lon":"116.33193121541",
        "province":"北京市",
        "city":"北京市",
        "distance":2959
        },
        {
        "name":"北京",
        "intro":"",
        "address":"北京市宣武区马连道路",
        "google_lat":"39.8828761",
        "google_lon":"116.326562",
        "baidu_lat":"39.888615066575",
        "baidu_lon":"116.33316801271",
        "province":"北京市",
        "city":"北京市",
        "distance":3421
        },
        {
        "name":"北京中土大厦",
        "intro":"三星级酒店",
        "address":"北京市海淀区北蜂窝6号",
        "google_lat":"39.9001656",
        "google_lon":"116.3275626",
        "baidu_lat":"39.905887982228",
        "baidu_lon":"116.33415763875",
        "province":"北京市",
        "city":"北京市",
        "distance":2747
        },
        {
        "name":"丰泽园饭店",
        "intro":"B1-F5走廊公共区域",
        "address":"北京市宣武区珠市口西大街83号",
        "google_lat":"39.889524",
        "google_lon":"116.391891",
        "baidu_lat":"39.895845552949",
        "baidu_lon":"116.39829182171",
        "province":"北京市",
        "city":"北京市",
        "distance":2949
        }
    ],
    "pageinfo":{
    "pnums":null,
    "current":null
    }
}
}


你可能感兴趣的:(周边wifi查询api调用代码示例)