当前所在位置:首页>数据接口>生活服务>周边停车场

周边停车场 

周边停车场

数据ID:69

接口状态:正常

连接应用数:34317

接入服务商:haoservice

/100次 购买套餐

  • API
  • 错误码参照
  • 资费套餐
  • 版本变更
  • 代码示例
  • 其他相关
接口地址: http://apis.haoservice.com/lifeservice/parking/getparking
支持格式: JSON/XML
请求方式: GET/POST
明文方式请求参数:
名称 类型 必填 说明
key string API KEY
location String 搜索的坐标,如: location=116.422396,40.039667
radius Int 搜索的范围半径,默认为3000m
number Int 单页上所获取的数据的数目,默认为10条数据,单页最多可输出20条数据;
page Int 获取指定页面的数据
coord_type String 请求参数坐标类型,默认为gcj02经纬度坐标。允许的值为bd09ll、bd09mc、gcj02、wgs84。bd09ll表示百度经纬度坐标,bd09mc表示百度墨卡托坐标,gcj02表示经过国测局加密的坐标。wgs84表示gps获取的坐标。
out_coord_type String 返回结果输出时的坐标类型,取值与请求参数坐标相同
密文方式请求参数:
名称 类型 必填 说明
IsEncrypt bool 是否密文传输方式
key string API KEY
params string 3des ECB模式 PKCS7填充模式 加密 3des("location=116.422396,40.039667&radius=3000&number=10&page=1&coord_type=gcj02&out_coord_type=gcj02","openId前24位")
调用样例及调试工具:
返回字段:
明文JSON返回示例:
{ "error_code": 0, "reason": "Success", "result": [ { "cityName": "北京市", "name": "华发颐园-停车场", "lng": 116.41530033212, "lat": 40.043363937969, "address": "华发颐园", "district": "朝阳区", "distance": 740, "telephone": "", "price": "" }, { "cityName": "北京市", "name": "集美家居(北苑店)-停车场", "lng": 116.42197027933, "lat": 40.032836776525, "address": "朝阳区北苑路44号", "district": "朝阳区", "distance": 759, "telephone": "", "price": "免费" }, { "cityName": "北京市", "name": "停车场", "lng": 116.42929046987, "lat": 40.034237890733, "address": "北京市朝阳区", "district": "朝阳区", "distance": 854, "telephone": "", "price": "" }, { "cityName": "北京市", "name": "华发颐园-商业楼前地上停车场", "lng": 116.41385354291, "lat": 40.044015425057, "address": "朝阳区北苑路18号", "district": "朝阳区", "distance": 884, "telephone": "", "price": "0.5元/15分钟(07:00-21:00),1元/2小时(21:00-07:00)" }, { "cityName": "北京市", "name": "望春园-停车场", "lng": 116.41693019514, "lat": 40.046658821465, "address": "望春园", "district": "朝阳区", "distance": 915, "telephone": "", "price": "" }, { "cityName": "北京市", "name": "旭辉·奥都楼-前地上停车场", "lng": 116.41347749502, "lat": 40.044853261766, "address": "朝阳区北苑路北延线", "district": "朝阳区", "distance": 965, "telephone": "", "price": "首小时内0.5元/15分钟,首小时后0.75元/15分钟(07:00-21:00),1元/2小时(21:00-07:00)" }, { "cityName": "北京市", "name": "拂林园-停车场", "lng": 116.41697066752, "lat": 40.030417454563, "address": "北京市朝阳区", "district": "朝阳区", "distance": 1119, "telephone": "", "price": "" }, { "cityName": "北京市", "name": "潇湘甲鱼村(北苑店)-停车场", "lng": 116.42304010871, "lat": 40.02876596197, "address": "安定门外北苑3号院", "district": "朝阳区", "distance": 1213, "telephone": "", "price": "" }, { "cityName": "北京市", "name": "北苑2号院-停车场", "lng": 116.41966024708, "lat": 40.027895156302, "address": "北京市朝阳区", "district": "朝阳区", "distance": 1323, "telephone": "", "price": "" } ] }
密文JSON返回示例:
hCe2pmNRFnwP3gbrGm9vnobmGI+VZPwJAFJ6xcEkeJGyOQKBipdMSDN1yb3lDI48WoqV7IJHb3tjJABrAc00igyE1dYBYQophG/6anzWjA857/YaMzKj5kfiVxyBavy4a4OudBnMncw=

推荐接口/API

联系客服

010-58436659