goplaces

Queries the Google Places API for text search, place details, and reviews via the goplaces CLI.

19.0k|5.6k|Updated Jul 9, 2024
One-click install
npx skills add https://github.com/elizaOS/eliza --skill goplaces-elizaos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: goplaces
Source: https://github.com/elizaOS/eliza/tree/main/packages/skills/skills/goplaces
Command: npx skills add https://github.com/elizaOS/eliza --skill goplaces-elizaos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies interacting with the Google Places API, allowing users to easily find information about places without complex API calls.

Core Features & Use Cases

  • Text Search: Find places based on keywords (e.g., "coffee", "pizza").
  • Place Details: Retrieve specific information about a place using its ID, including reviews.
  • Location Bias: Search for places near a specific latitude and longitude.
  • Human-friendly Output: Results are displayed in an easy-to-read format by default.
  • Scripting Support: Option to output results in JSON format for programmatic use.

Quick Start

Use the goplaces skill to search for coffee shops near your current location.

Frequently Asked Questions about goplaces

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search for nearby places using the Google Places API?

To search Google Places API, you use the goplaces CLI to perform text searches with keywords like "coffee" and apply location bias by providing specific latitude and longitude coordinates to find nearby places.

Can I get place details and reviews from Google Places API in JSON format?

Yes, you can retrieve place details and reviews from Google Places API in JSON format. The goplaces CLI supports scripting output, returning structured JSON data instead of the default human-friendly format.

What do I need to query Google Places API for location data?

To query Google Places API for location data, you need a GOOGLE_PLACES_API_KEY environment variable configured. You can also optionally specify a base URL for testing purposes during your setup.

What is the best way to script Google Places API text search results?

The best way to script Google Places API text search results is using the goplaces CLI with its JSON output option, which formats query responses programmatically for automated workflows instead of human-readable text.

Does the Google Places API CLI work without complex API call configurations?

Yes, the Google Places API CLI works without complex API call configurations by simplifying interactions. It handles requests for text search, place details, and reviews directly through straightforward CLI commands.

Why use a CLI for Google Places API instead of direct API calls?

Using a CLI for Google Places API eliminates the complexity of direct API calls, providing built-in text search, location bias, and reviews retrieval with options for both human-friendly reading and JSON scripting.