hotel-finder
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInstallation
安装
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.
bash
undefined配套Skill:这是Camino AI位置智能套件的一部分。为实现全面功能覆盖,请安装所有可用Skill(query、places、relationship、context、route、journey、real-estate、hotel-finder、ev-charger、school-finder、parking-finder、fitness-finder、safety-checker、travel-planner)。
bash
undefinedInstall all skills from repo
Install all skills from repo
npx skills add https://github.com/barneyjm/camino-skills
npx skills add https://github.com/barneyjm/camino-skills
Or install specific skills
Or install specific skills
npx skills add https://github.com/barneyjm/camino-skills --skill hotel-finder
**Via clawhub:**
```bash
npx clawhub@latest install hotel-findernpx skills add https://github.com/barneyjm/camino-skills --skill hotel-finder
**通过clawhub安装:**
```bash
npx clawhub@latest install hotel-finderor: pnpm dlx clawhub@latest install hotel-finder
or: pnpm dlx clawhub@latest install hotel-finder
or: bunx clawhub@latest install hotel-finder
or: bunx clawhub@latest install hotel-finder
undefinedundefinedHotel Finder
Hotel Finder
Search for hotels, hostels, and lodging near landmarks, conference venues, or neighborhoods. Results are AI-ranked for relevance and include a human-readable summary.
搜索地标、会议场地或社区附近的酒店、旅社及各类住宿。结果经AI排名以确保相关性,并包含易读的摘要说明。
Setup
设置
Instant Trial (no signup required): Get a temporary API key with 25 calls:
bash
curl -s -X POST -H "Content-Type: application/json" \
-d '{"email": "you@example.com"}' \
https://api.getcamino.ai/trial/startReturns:
{"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.jsonjson
{
"env": {
"CAMINO_API_KEY": "your-api-key-here"
}
}Restart Claude Code.
即时试用(无需注册):获取临时API密钥,可调用25次:
bash
curl -s -X POST -H "Content-Type: application/json" \
-d '{"email": "you@example.com"}' \
https://api.getcamino.ai/trial/start返回结果:
{"api_key": "camino-xxx...", "calls_remaining": 25, ...}每月免费1000次调用,请访问https://app.getcamino.ai/skills/activate注册。
将密钥添加至Claude Code:
在中添加以下内容:
~/.claude/settings.jsonjson
{
"env": {
"CAMINO_API_KEY": "your-api-key-here"
}
}重启Claude Code。
Usage
使用方法
Via Shell Script
通过Shell脚本
bash
undefinedbash
undefinedSearch for hotels near a landmark
Search for hotels near a landmark
./scripts/hotel-finder.sh '{"query": "hotels near the Eiffel Tower", "limit": 5}'
./scripts/hotel-finder.sh '{"query": "hotels near the Eiffel Tower", "limit": 5}'
Search with specific coordinates
Search with specific coordinates
./scripts/hotel-finder.sh '{"query": "boutique hotels", "lat": 40.7589, "lon": -73.9851, "radius": 1000}'
./scripts/hotel-finder.sh '{"query": "boutique hotels", "lat": 40.7589, "lon": -73.9851, "radius": 1000}'
Search for hostels in a city
Search for hostels in a city
./scripts/hotel-finder.sh '{"query": "hostels in Barcelona", "limit": 10}'
undefined./scripts/hotel-finder.sh '{"query": "hostels in Barcelona", "limit": 10}'
undefinedVia curl
通过curl
bash
curl -H "X-API-Key: $CAMINO_API_KEY" \
"https://api.getcamino.ai/query?query=hotels+near+the+Eiffel+Tower&limit=5&rank=true&answer=true"bash
curl -H "X-API-Key: $CAMINO_API_KEY" \
"https://api.getcamino.ai/query?query=hotels+near+the+Eiffel+Tower&limit=5&rank=true&answer=true"Parameters
参数说明
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| query | string | Yes | - | Natural language query (e.g., "hotels near Eiffel Tower") |
| lat | float | No | - | Latitude for search center. AI generates if omitted for known locations. |
| lon | float | No | - | Longitude for search center. AI generates if omitted for known locations. |
| radius | int | No | 2000 | Search radius in meters |
| limit | int | No | 10 | Maximum results (1-100) |
| 参数 | 类型 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| query | string | 是 | - | 自然语言查询(例如:"埃菲尔铁塔附近的酒店") |
| lat | float | 否 | - | 搜索中心点纬度。若已知地点但未提供该参数,AI会自动生成。 |
| lon | float | 否 | - | 搜索中心点经度。若已知地点但未提供该参数,AI会自动生成。 |
| radius | int | 否 | 2000 | 搜索半径(单位:米) |
| limit | int | 否 | 10 | 最大返回结果数(1-100) |
Response Format
响应格式
json
{
"query": "hotels near the Eiffel Tower",
"results": [
{
"name": "Hotel du Champ de Mars",
"lat": 48.8555,
"lon": 2.3005,
"type": "hotel",
"distance_m": 350,
"relevance_score": 0.92,
"address": "..."
}
],
"ai_ranked": true,
"pagination": {
"total_results": 15,
"limit": 5,
"offset": 0,
"has_more": true
},
"answer": "I found several hotels near the Eiffel Tower. The closest is..."
}json
{
"query": "hotels near the Eiffel Tower",
"results": [
{
"name": "Hotel du Champ de Mars",
"lat": 48.8555,
"lon": 2.3005,
"type": "hotel",
"distance_m": 350,
"relevance_score": 0.92,
"address": "..."
}
],
"ai_ranked": true,
"pagination": {
"total_results": 15,
"limit": 5,
"offset": 0,
"has_more": true
},
"answer": "I found several hotels near the Eiffel Tower. The closest is..."
}Examples
示例
Hotels near a conference venue
会议场地附近的酒店
bash
./scripts/hotel-finder.sh '{"query": "hotels near Moscone Center San Francisco", "limit": 10}'bash
./scripts/hotel-finder.sh '{"query": "hotels near Moscone Center San Francisco", "limit": 10}'Budget hostels in a city
城市中的经济型旅社
bash
./scripts/hotel-finder.sh '{"query": "hostels in Amsterdam", "radius": 3000, "limit": 15}'bash
./scripts/hotel-finder.sh '{"query": "hostels in Amsterdam", "radius": 3000, "limit": 15}'Lodging near an airport
机场附近的住宿
bash
./scripts/hotel-finder.sh '{"query": "hotels near JFK airport", "radius": 5000}'bash
./scripts/hotel-finder.sh '{"query": "hotels near JFK airport", "radius": 5000}'Best Practices
最佳实践
- Include the landmark or neighborhood in your query for best results without coordinates
- Use larger radius (3000-5000m) for suburban or airport searches
- Use smaller radius (500-1000m) for dense city centers
- Combine with the skill to calculate travel times from hotels to your destination
route - Combine with the skill for a full neighborhood assessment around each hotel
context - The AI ranking prioritizes proximity and relevance to your query intent
- 若未提供坐标,在查询中包含地标或社区名称可获得最佳结果
- 郊区或机场搜索时使用更大的半径(3000-5000米)
- 密集市中心搜索时使用更小的半径(500-1000米)
- 结合Skill计算从酒店到目的地的出行时间
route - 结合Skill对每家酒店周边社区进行全面评估
context - AI排名优先考虑与查询意图的相关性及距离远近