返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

fetch-stores

使用Dumpling AI API从Google地图获取商店线索。当用户想要在Google地图上搜索企业、商店、餐馆或任何地点时,使用此技能。

person作者: jakexiaohubgithub

Fetch Stores from Google Maps

This skill allows you to search for businesses and places using the Dumpling AI API, which queries Google Maps data.

When to Use

Use this skill when the user:

  • Wants to find stores, restaurants, or businesses in a specific area
  • Asks for "best [type of business] in [location]"
  • Needs to collect business leads or listings
  • Wants to search Google Maps for places

How to Use

Execute the script located at scripts/fetch-stores.sh:

fetch-stores.sh "search query" ["optional location"]

Examples

# Search for restaurants in New York
fetch-stores.sh "best restaurants in New York"

# Search with separate location parameter
fetch-stores.sh "coffee shops" "San Francisco, CA"

Prerequisites

The DUMPLING_AI_API_KEY environment variable must be set:

export DUMPLING_AI_API_KEY=your_api_key

Output

  • Results are saved to /tmp/data/stores_[timestamp].json
  • The script displays:
    • Number of places found
    • Top 10 rated places with ratings and addresses
    • The best rated place with full details

Response Format

The API returns places with the following information:

  • title: Business name
  • rating: Star rating (1-5)
  • ratingCount: Number of reviews
  • address: Full address
  • phoneNumber: Contact phone
  • website: Business website URL

Guidelines

  1. Always ask the user for their search query if not provided
  2. Suggest adding a location for more relevant results
  3. After fetching, summarize the top results for the user
  4. If the API key is not set, guide the user to set it up