Google Maps
Use gog for Google Maps operations. Read ../gog/SKILL.md first for shared auth,
output, safety, and live-write rules.
Safe start
gog auth list --check --json --no-input
gog schema maps --json
gog --readonly --account user@example.com maps --help
- Select the account explicitly with
--account. - Use
--json --wrap-untrustedfor agent-readable Google content. - Use
--readonlywhen the task must not mutate Google data. - Use
--no-inputin automation and--dry-runbefore supported writes. - Confirm the exact account, object, and mutation before any write or delete.
Commands
| Command | Purpose |
|---|---|
directions |
Get directions between two locations |
distance |
Get travel distance and duration matrix |
geocode |
Convert an address to coordinates |
places |
Google Maps Places API |
reverse-geocode |
Convert coordinates to an address |
Run gog maps <command> --help for flags and gog schema maps <command> --json
for the machine-readable contract. Do not guess command syntax.