Documentation
README
地图路线规划与 POI 搜索
基于高德地图 API 的路线规划和 POI 搜索服务。
配置
编辑 skills/map/scripts/config.json,填写高德地图 API Key:
{
"amap_key": "YOUR_AMAP_KEY"
}
AI 调用示例
用户说"我想去东莞玩3天":
# 1. 搜索景点
python3 skills/map/scripts/map.py attractions --city 东莞 --page-size 20 --json
# 2. 查询景点间路线
python3 skills/map/scripts/map.py driving --origin "旗峰公园" --destination "可园博物馆" --origin-city 东莞 --dest-city 东莞
用户说"东莞有什么好吃的":
python3 skills/map/scripts/map.py restaurants --city 东莞 --page-size 20 --json
用户说"从天安门到鸟巢坐地铁怎么走":
python3 skills/map/scripts/map.py transit --origin "天安门" --destination "鸟巢" --city1 010 --city2 010
命令行参考
路线规划
This is the opening of the README. Read the full README on GitHub.