← 返回
数据分析 Key 中文

Hotel Pricer

Search hotels by city, dates, and guests using Amadeus API, returning availability and pricing in JSON format via a Go CLI tool.
通过Go命令行工具使用Amadeus API,按城市、日期和人数搜索酒店,以JSON格式返回房源及价格。
jrojas537
数据分析 clawhub v1.1.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 996
下载
💾 20
安装
1
版本
#latest

概述

hotel-pricer Skill

A Go-based CLI for searching hotel availability and pricing using the Amadeus API.

Description

This skill allows the agent to find hotel deals by city, check-in/out dates, and number of guests. It securely manages Amadeus API credentials and provides formatted JSON output.

Prerequisites

  • go (for installation)
  • An Amadeus for Developers account with API Key and Secret.

Installation

The hotel-pricer binary must be compiled and placed in the system's PATH.

# From the hotel-pricer source directory
go build
sudo mv hotel-pricer /usr/local/bin/

Configuration

Credentials must be set before use.

hotel-pricer config set --api-key YOUR_API_KEY --api-secret YOUR_API_SECRET

Usage

Search for Hotels

hotel-pricer search --city <IATA_CODE> --check-in <YYYY-MM-DD> --check-out <YYYY-MM-DD> [flags]

Example:

hotel-pricer search --city NYC --check-in 2024-12-24 --check-out 2024-12-28 --guests 2

Flags

  • --city, -c: City code (IATA) (required)
  • --check-in, -i: Check-in date (YYYY-MM-DD) (required)
  • --check-out, -o: Check-out date (YYYY-MM-DD) (required)
  • --guests, -g: Number of guests (default: 1)
  • --radius, -r: Search radius in kilometers (default: 20)

版本历史

共 1 个版本

  • v1.1.1 当前
    2026-03-29 06:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Discogs Cli

jrojas537
用于在 Discogs 上管理用户黑胶唱片收藏的 OpenClaw 技能
★ 0 📥 1,294
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,356
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,059