OneKey Gateway
name: google-maps
by ai-hub-admin · published 2026-04-01
$ claw add gh:ai-hub-admin/ai-hub-admin-google-maps-onekey-gateway---
name: google-maps
description: Google Maps tools via OneKey Gateway (geocode, places, distance matrix, elevation, directions).
env:
DEEPNLP_ONEKEY_ROUTER_ACCESS:
required: true
description: OneKey Gateway API key
dependencies:
npm:
- "@aiagenta2z/onekey-gateway"
python:
- "ai-agent-marketplace"
installation:
npm: npm -g install @aiagenta2z/onekey-gateway
python: pip install ai-agent-marketplace
---
# 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).
Dependencies
CLI Dependency
Install onekey-gateway from npm
npm install @aiagenta2z/onekey-gatewayScript Dependency
Install the required Python package before running any scripts.
pip install ai-agent-marketplaceAlternatively, install dependencies from the requirements file:
pip install -r requirements.txtIf 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.
And please use the command line "onekey" as the preferred method to run the skills.
# Google Maps Skill
Use the OneKey Gateway to access Google Maps APIs through a unified access key.
Quick Start
Set your OneKey Access Key
In the .env file
DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEYor alternatively set via export.
export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEYIf no key is provided, the scripts fall back to the demo key `BETA_TEST_KEY_MARCH_2026`.
Common settings:
Tools
`maps_geocode`
Convert an address into geographic coordinates.
Parameters:
`maps_reverse_geocode`
Convert coordinates into an address.
Parameters:
`maps_search_places`
Search for places using Google Places API.
Parameters:
`maps_place_details`
Get detailed information about a specific place.
Parameters:
`maps_distance_matrix`
Calculate travel distance and time for multiple origins and destinations.
Parameters:
`maps_elevation`
Get elevation data for locations on the earth.
Parameters:
`maps_directions`
Get directions between two points.
Parameters:
# Usage
CLI
maps_geocode
npx onekey agent google-maps/google-maps maps_geocode '{"address": "Times Square, New York"}'maps_reverse_geocode
npx onekey agent google-maps/google-maps maps_reverse_geocode '{"latitude": 40.758, "longitude": -73.9855}'maps_search_places
npx onekey agent google-maps/google-maps maps_search_places '{"query": "Italian restaurants", "location": {"latitude": 40.758, "longitude": -73.9855}, "radius": 500}'maps_place_details
npx onekey agent google-maps/google-maps maps_place_details '{"place_id": "ChIJmQJIxlVYwokRLgeuocVOGVU"}'maps_distance_matrix
npx onekey agent google-maps/google-maps maps_distance_matrix '{"origins": ["Times Square, NY"], "destinations": ["Central Park, NY"], "mode": "driving"}'maps_elevation
npx onekey agent google-maps/google-maps maps_elevation '{"locations": [{"latitude": 36.057944, "longitude": -112.125168}]}'maps_directions
npx onekey agent google-maps/google-maps maps_directions '{"origin": "Golden Gate Bridge", "destination": "Ferry Building San Francisco", "mode": "driving"}'Scripts
Each tool has a dedicated script in `skills/google-maps/scripts/`:
Examples
python3 skills/google-maps/scripts/maps_geocode.py --address "1600 Amphitheatre Parkway, Mountain View, CA"python3 skills/google-maps/scripts/maps_reverse_geocode.py --latitude 37.422 --longitude -122.084python3 skills/google-maps/scripts/maps_search_places.py --query "coffee" --location 37.422,-122.084 --radius 1500python3 skills/google-maps/scripts/maps_place_details.py --place-id "ChIJ2eUgeAK6j4ARbn5u_wAGqWA"python3 skills/google-maps/scripts/maps_distance_matrix.py --origins "Boston, MA" --destinations "New York, NY" --mode drivingpython3 skills/google-maps/scripts/maps_elevation.py --locations "37.422,-122.084;37.427,-122.085"python3 skills/google-maps/scripts/maps_directions.py --origin "Boston, MA" --destination "New York, NY" --mode drivingRelated 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-gatewayScript Dependency
Install the required Python package before running any scripts.
pip install ai-agent-marketplaceAlternatively, install dependencies from the requirements file:
pip install -r requirements.txtIf 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.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...