1、查询某个位置下有那些地址信息
参数如下:
请求类型:GET
keyword: 城市/区/街道
offset: 当前页位置
limit:每页显示多少条数据
接口:https://h5.ele.me/restapi/bgs/poi/search_poi_nearby_alipay
例如:https://h5.ele.me/restapi/bgs/poi/search_poi_nearby_alipay?keyword=广州&offset=0&limit=20
2、查询某个在线用户的收货地址及备注
userId: 用户的ID 9位数数据 只能查看在线用户 (其实我们用循环一直用遍历9位数字一直去试,能查询当前弄个人用户elm的收获地址和手机号等...)
接口:https://h5.ele.me/restapi/member/v1/users/{ userId }/addresses
例如:https://h5.ele.me/restapi/member/v1/users/207828671/addresses
3、查询全国对应26字母相应的城市 (用户字母位置查询)返回某个城市的经度纬度为下面接口当参数作用
请求类型:GET
接口:https://shadow.elemecdn.com/lib/city-list@0.0.3/city_list.json
4、查询饿了么首页相关信息(门店/优惠/排名/快递) //用于动态路由
请求类型:GET
latitude: 纬度
longitude: 经度
terminal: 当前需要显示的设备
接口:https://h5.ele.me/pizza/shopping/restaurants/batch_filter
例如:https://h5.ele.me/pizza/shopping/restaurants/batch_filter?latitude=28.03948&longitude=105.813359&terminal=h5
5、根据经度纬度找到当前位置的城市和外卖地址
请求类型:GET
latitude: 纬度
longitude: 经度
接口:https://h5.ele.me/restapi/bgs/poi/reverse_geo_coding
例如:https://h5.ele.me/restapi/bgs/poi/reverse_geo_coding?latitude=28.03948&longitude=105.813359
6、查询菜品类型大全 (地方菜系/面食粥点/简餐便当...)
请求类型:GET
latitude: 纬度 //必填
longitude: 经度 //必填
entry_id: 20133249 //条目ID 固定参数
erminal=h5 //当前需要显示的设备
https://h5.ele.me/restapi/shopping/v2/foods_page/sift_factors?entry_id=20133249&longitude=105.442574&latitude=28.8717&terminal=h5
7、按照筛选条件查询某个地理位置下的所以店铺
请求类型:GET
latitude: 纬度 //必填
longitude: 经度 //必填
offset: 0 //当前页 //必填
limit: 8 //显示多少条 //必填
extras[]: activities //固定参数 //必填
extras[]: tags /固定参数 //必填
extra_filters: home //路由位置 //必填
order_by: 5 // 7=好评优先 5=距离最近 6=销量最高 2=配送最快 1=起价费最低 ....
activity_types[]: 9 //优惠政策 9=门店新客立减 8=首单立减....
support_ids[]: 7 //商家服务 7=食保安 9=品牌商家
delivery_mode[]: 1 //蜂鸟专送
cost_from: 80 //最低价
cost_to: 100 //最高价
rank_id:
terminal: h5 //设备
接口:https://h5.ele.me/restapi/shopping/v3/restaurants
例如:https://h5.ele.me/restapi/shopping/v3/restaurants?latitude=28.8717&longitude=105.442574&offset=0&limit=8&extras[]=activities&extras[]=tags&extra_filters=home&rank_id=&terminal=h5