返回顶部
b

baidu-maps-sse

Auto-generated skill for baidu-maps-sse tools via OneKey Gateway.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
109
下载量
0
收藏
概述
安装方式
版本历史

baidu-maps-sse

### OneKey Gateway Use One Access Key to connect to various commercial APIs. Please visit the [OneKey Gateway Keys](https://www.deepnlp.org/workspace/keys) and read the docs [OneKey MCP Router Doc](https://www.deepnlp.org/doc/onekey_mcp_router) and [OneKey Gateway Doc](https://deepnlp.org/doc/onekey_agent_router). # baidu-maps-sse Skill Use the OneKey Gateway to access tools for this server via a unified access key. ## Quick Start Set your OneKey access key: ```bash export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY ``` If no key is provided, the scripts fall back to the demo key `BETA_TEST_KEY_MARCH_2026`. Common settings: - `unique_id`: `baidu-maps-sse/baidu-maps-sse` - `api_id`: one of the tools listed below ## Tools ### `maps_geocode` Convert an address into geographic coordinates Parameters: - `address` (string, required): The address to geocode ### `maps_reverse_geocode` Convert coordinates into an address Parameters: - `latitude` (number, required): Latitude coordinate - `longitude` (number, required): Longitude coordinate ### `maps_search_places` Search for places using Google Places API Parameters: - `query` (string, required): Search query - `location` (object, optional): Optional center point for the search - `location.latitude` (number, optional): - `location.longitude` (number, optional): - `radius` (number, optional): Search radius in meters (max 50000) ### `maps_place_details` Get detailed information about a specific place Parameters: - `place_id` (string, required): The place ID to get details for ### `maps_distance_matrix` Calculate travel distance and time for multiple origins and destinations Parameters: - `origins` (array of string, required): Array of origin addresses or coordinates - `destinations` (array of string, required): Array of destination addresses or coordinates - `mode` (string, optional): Travel mode (driving, walking, bicycling, transit) Values: driving, walking, bicycling, transit ### `maps_elevation` Get elevation data for locations on the earth Parameters: - `locations` (array of object, required): Array of locations to get elevation for - `locations[].latitude` (number, required): - `locations[].longitude` (number, required): ### `maps_directions` Get directions between two points Parameters: - `origin` (string, required): Starting point address or coordinates - `destination` (string, required): Ending point address or coordinates - `mode` (string, optional): Travel mode (driving, walking, bicycling, transit) Values: driving, walking, bicycling, transit # Usage ## CLI ### maps_geocode ```shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_geocode '{"address": "Times Square, New York"}' ``` ### maps_reverse_geocode ```shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_reverse_geocode '{"latitude": 40.758, "longitude": -73.9855}' ``` ### maps_search_places ```shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_search_places '{"query": "Italian restaurants", "location": {"latitude": 40.758, "longitude": -73.9855}, "radius": 500}' ``` ### maps_place_details ```shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_place_details '{"place_id": "ChIJmQJIxlVYwokRLgeuocVOGVU"}' ``` ### maps_distance_matrix ```shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_distance_matrix '{"origins": ["Times Square, NY"], "destinations": ["Central Park, NY"], "mode": "driving"}' ``` ### maps_elevation ```shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_elevation '{"locations": [{"latitude": 36.057944, "longitude": -112.125168}]}' ``` ### maps_directions ```shell npx onekey agent baidu-maps-sse/baidu-maps-sse maps_directions '{"origin": "Golden Gate Bridge", "destination": "Ferry Building San Francisco", "mode": "driving"}' ``` ## Scripts Each tool has a dedicated script in this folder: - `skills/baidu-maps-sse/scripts/maps_geocode.py` - `skills/baidu-maps-sse/scripts/maps_reverse_geocode.py` - `skills/baidu-maps-sse/scripts/maps_search_places.py` - `skills/baidu-maps-sse/scripts/maps_place_details.py` - `skills/baidu-maps-sse/scripts/maps_distance_matrix.py` - `skills/baidu-maps-sse/scripts/maps_elevation.py` - `skills/baidu-maps-sse/scripts/maps_directions.py` ### Example ```bash python3 scripts/<tool_name>.py --data '{"key": "value"}' ``` ### Related DeepNLP OneKey Gateway Documents [AI Agent Marketplace](https://www.deepnlp.org/store/ai-agent) [Skills Marketplace](https://www.deepnlp.org/store/skills) [AI Agent A2Z Deployment](https://www.deepnlp.org/workspace/deploy) [PH AI Agent A2Z Infra](https://www.producthunt.com/products/ai-agent-a2z) [GitHub AI Agent Marketplace](https://github.com/aiagenta2z/ai-agent-marketplace) ## Dependencies ### CLI Dependency Install onekey-gateway from npm ``` npm install @aiagenta2z/onekey-gateway ``` ### Script Dependency Install the required Python package before running any scripts. ```bash pip install ai-agent-marketplace ``` Alternatively, install dependencies from the requirements file: ```bash pip install -r requirements.txt ``` If the package is already installed, skip installation. ### Agent rule Before executing command lines or running any script in the scripts/ directory, ensure the dependencies are installed. Use the `onekey` CLI as the preferred method to run the skills.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 baidu-maps-sse-1776099182 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 baidu-maps-sse-1776099182 技能

通过命令行安装

skillhub install baidu-maps-sse-1776099182

下载 Zip 包

⬇ 下载 baidu-maps-sse v0.1.0

文件大小: 8.15 KB | 发布时间: 2026-4-14 09:38

v0.1.0 最新 2026-4-14 09:38
Initial release of baidu-maps-sse skill.

- Provides access to Baidu Maps and related geolocation tools via OneKey Gateway.
- Supports geocoding, reverse geocoding, place search, place details, distance matrix, elevation, and directions.
- Offers both CLI (npx onekey agent) and Python script usage.
- Requires OneKey Gateway API key; supports fallback demo key for testing.
- npm and pip dependencies required for respective usage methods.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部