📍

goplaces

Search Google Places, get details, and pull reviews from the command line — human-readable output or clean JSON for scripts.

por OpenClawv1.0.0
Search & ResearchAutomationAPICLIDeveloper Tool
Conectando à VM...
Conectando à VM...
npx clawhub@latest install goplaces
10Instalações atuais
v1.0.0Versão

Requisitos

goplacesGoogle Places API KeyPlaces API Base URL Override(optional)

goplaces brings the full power of the Google Places API (New) to your terminal. Search for businesses and points of interest, look up place details, resolve ambiguous location names to Place IDs, and fetch reviews — all without writing a line of code.Results are formatted for human readability by default, with a --json flag that emits clean, structured output for use in scripts, pipelines, and automation workflows.

Como funciona

goplaces wraps the Google Places API (New) in a streamlined CLI experience:Set your GOOGLE_PLACES_API_KEY environment variable.Run a command — search, resolve, or details — with your query and any filters.Results are printed in a human-friendly format with ANSI color, or in raw JSON when --json is passed.Use pagination tokens to page through large result sets, or pipe JSON output directly into other tools.

Principais funcionalidades

Text Search — Find places by keyword with filters for open status, minimum rating, price level, type, and result limit.Location Bias — Constrain or bias searches by latitude, longitude, and radius for geographically relevant results.Place Resolution — Resolve ambiguous location names (e.g. "Soho, London") to canonical Place IDs with ranked candidates.Place Details & Reviews — Fetch rich place details and user reviews for any Place ID using goplaces details <place_id> --reviews.Pagination Support — Page through results seamlessly using --page-token for large search queries.Script-Friendly JSON Output — Toggle --json for clean, structured JSON suitable for downstream scripting and automation.Color Control — Disable ANSI color via --no-color flag or the standard NO_COLOR environment variable.

Requisitos

Google Places API Key — Required. Authenticates all requests to the Google Places API (New). Set as the GOOGLE_PLACES_API_KEY environment variable. Obtain a key from the Google Cloud Console with the Places API (New) enabled.Base URL Override — (optional) Set GOOGLE_PLACES_BASE_URL to point requests at a proxy or test endpoint instead of the live Google Places API.

Casos de uso

Local Business Discovery — Quickly find highly-rated, open coffee shops, restaurants, or services near a specific coordinate without opening a browser.Data Enrichment Scripts — Feed a list of place names through goplaces resolve and details to enrich datasets with structured Google Places data via JSON output.Review Monitoring — Pull the latest reviews for a venue directly from the terminal for sentiment analysis or reporting pipelines.Geocoding & ID Resolution — Resolve human-readable location names to canonical Place IDs for use in mapping or other API integrations.

Como instalar

1
Run in your terminal
npx clawhub@latest install goplaces
or
2
Click the Install button at the top of this page for one-click setup

Perguntas frequentes

Avaliações

0 avaliações

Faça login para escrever uma avaliação

Nenhuma avaliação ainda. Seja o primeiro a compartilhar sua experiência!