We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
域名: http://cangdu.org
端口:8001
/v1/cities
http://cangdu.org:8001/v1/cities?type=guess
GET
{ id: 1, name: "上海", abbr: "SH", area_code: "021", sort: 1, latitude: 31.23037, longitude: 121.473701, is_map: true, pinyin: "shanghai" }
/v1/cities/:id
http://cangdu.org:8001/v1/cities/1
/v1/pois
http://cangdu.org:8001/v1/pois?city_id=1&keyword=迪士尼&type=search
返回示例
[ { name: "上海迪士尼乐园", address: "上海市浦东新区申迪西路753号", latitude: 31.14419, longitude: 121.66034, geohash: "31.14419,121.66034" }, { name: "迪士尼", address: "上海市浦东新区妙境路1118号家乐福川沙店1层", latitude: 31.18183, longitude: 121.69279, geohash: "31.18183,121.69279" }, ... //共10个数据 ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
域名: http://cangdu.org
端口:8001
1.获取城市列表
请求URL:
示例:
http://cangdu.org:8001/v1/cities?type=guess
请求方式:
请求参数
返回示例
2.获取所选城市信息
请求URL
示例:
请求方式
请求参数
返回示例
3.搜索地址
请求URL
示例:
请求方式
请求参数
返回示例
The text was updated successfully, but these errors were encountered: