← 返回
未分类 Key 中文

Query

Search for places using natural language with Camino AI's location intelligence API. Returns relevant results with coordinates, distances, and metadata. Use when you need to find real-world locations like restaurants, shops, landmarks, or any point of interest.
使用Camino AI的位置智能API通过自然语言搜索地点。返回包含坐标、距离和元数据的相关结果。适用于查找餐厅、商店、地标或任何兴趣点等真实世界位置。
barneyjm
未分类 clawhub v2.0.0 1 版本 100000 Key: 需要
★ 2
Stars
📥 1,607
下载
💾 1
安装
1
版本
#latest

概述

Installation

Companion Skills: This is part of the Camino AI location intelligence suite. Install all available skills (query, places, relationship, context, route, journey, real-estate, hotel-finder, ev-charger, school-finder, parking-finder, fitness-finder, safety-checker, travel-planner) for comprehensive coverage.

# Install all skills from repo
npx skills add https://github.com/barneyjm/camino-skills

# Or install specific skills
npx skills add https://github.com/barneyjm/camino-skills --skill query

Via clawhub:

npx clawhub@latest install query
# or: pnpm dlx clawhub@latest install query
# or: bunx clawhub@latest install query

Query - Natural Language Place Search

Search for places using natural language. The AI automatically generates coordinates for known locations when not provided.

Setup

Instant Trial (no signup required): Get a temporary API key with 25 calls:

curl -s -X POST -H "Content-Type: application/json" \
  -d '{"email": "you@example.com"}' \
  https://api.getcamino.ai/trial/start

Returns: {"api_key": "camino-xxx...", "calls_remaining": 25, ...}

For 1,000 free calls/month, sign up at https://app.getcamino.ai/skills/activate.

Add your key to Claude Code:

Add to your ~/.claude/settings.json:

{
  "env": {
    "CAMINO_API_KEY": "your-api-key-here"
  }
}

Restart Claude Code.

Usage

Via Shell Script

# Search for coffee shops near Times Square
./scripts/query.sh '{"query": "coffee shops near Times Square", "limit": 5}'

# Search with specific coordinates
./scripts/query.sh '{"query": "quiet cafes with wifi", "lat": 40.7589, "lon": -73.9851, "radius": 500}'

# Get AI-generated answer with results
./scripts/query.sh '{"query": "best pizza in Manhattan", "answer": true, "rank": true}'

Via curl

curl -H "X-API-Key: $CAMINO_API_KEY" \
  "https://api.getcamino.ai/query?query=coffee+shops+near+Times+Square&limit=5"

Parameters

ParameterTypeRequiredDefaultDescription
-------------------------------------------------
querystringYes*-Natural language query (e.g., "coffee shops near Times Square")
latfloatNo-Latitude for search center. AI generates if omitted for known locations.
lonfloatNo-Longitude for search center. AI generates if omitted for known locations.
radiusintNo1000Search radius in meters (100-50000)
rankboolNotrueUse AI to rank results by relevance
limitintNo20Maximum results (1-100)
offsetintNo0Pagination offset
answerboolNofalseGenerate human-readable summary
timestringNo-Temporal query: "2020-01-01", "2020..", or "2020..2024"
osm_idsstringNo-Comma-separated OSM IDs (e.g., "node/123,way/456")
modestringNo"basic""basic" (OSM only) or "advanced" (web enrichment)

*Either query or osm_ids is required.

Response Format

{
  "query": "quiet coffee shops with wifi",
  "results": [
    {
      "name": "Blue Bottle Coffee",
      "lat": 40.7601,
      "lon": -73.9847,
      "type": "cafe",
      "distance_m": 150,
      "relevance_score": 0.95,
      "address": "..."
    }
  ],
  "ai_ranked": true,
  "pagination": {
    "total_results": 23,
    "limit": 5,
    "offset": 0,
    "has_more": true
  },
  "answer": "I found several quiet coffee shops with wifi near Times Square..."
}

Examples

Find nearby restaurants

./scripts/query.sh '{"query": "Italian restaurants", "lat": 40.7128, "lon": -74.0060, "limit": 10}'

Search with AI answer

./scripts/query.sh '{"query": "best brunch spots in Brooklyn", "answer": true}'

Historical data query

./scripts/query.sh '{"query": "restaurants", "lat": 40.7589, "lon": -73.9851, "time": "2020-01-01"}'

Best Practices

  • For known locations (cities, landmarks), you can omit lat/lon and let the AI generate coordinates
  • Use rank: true for more relevant results when searching by attributes (e.g., "quiet", "cheap")
  • Enable answer: true when you need a natural language summary of results
  • Use mode: "advanced" for richer place data from web sources
  • Keep queries descriptive but concise for best AI interpretation

版本历史

共 1 个版本

  • v2.0.0 当前
    2026-05-21 12:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Places

barneyjm
使用灵活的查询格式定位地点(自由文本搜索或结构化地址)。返回坐标、地址及可选的街景照片。用于地址地理编码或查找特定名称的地点。
★ 2 📥 1,712

Journey

barneyjm
多站点旅程规划,支持路线优化、可行性分析及时间预算约束。适用于规划多停靠点行程或检查行程是否可行。
★ 0 📥 1,632

Context

barneyjm
获取位置的综合信息,包括周边地点、区域描述及可选天气。用于了解周围环境或提供位置相关的推荐。
★ 2 📥 1,902