← 返回
开发者工具 Key 中文

KitchenOwl API

Interact with KitchenOwl APIs (login, token handling, REST/GraphQL calls, and shopping-list read/update) through a reusable CLI script. Use when the user ask...
通过可复用的CLI脚本与KitchenOwl API交互(含登录、令牌处理、REST/GraphQL调用及购物清单读写)。用于用户请求相关操作时。
pietro395
开发者工具 clawhub v1.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 633
下载
💾 7
安装
1
版本
#latest

概述

KitchenOwl API

Use scripts/kitchenowl-api.sh for KitchenOwl operations without relying on the web UI.

Prerequisites

  • curl
  • jq

Quick configuration

Supported environment variables:

  • KITCHENOWL_URL (e.g. https://kitchenowl.example.com) [preferred]
  • KITCHENOWL_TOKEN (Bearer token; access token or long-lived token)
  • KITCHENOWL_REFRESH_TOKEN (optional)
  • KITCHENOWL_BASE_URL (legacy compatibility)

Main commands

# 1) Probe useful API endpoints
{baseDir}/scripts/kitchenowl-api.sh probe --base-url https://kitchenowl.example.com

# 2) Login (saves tokens in ~/.config/kitchenowl-api/session.json)
{baseDir}/scripts/kitchenowl-api.sh login \
  --base-url https://kitchenowl.example.com \
  --username USERNAME \
  --password 'PASSWORD' \
  --device openclaw

# 3) Generic authenticated REST call
{baseDir}/scripts/kitchenowl-api.sh request GET /api/user

# 4) REST call with JSON body
{baseDir}/scripts/kitchenowl-api.sh request POST /api/auth/llt \
  --json '{"device":"openclaw-llt"}'

# 5) GraphQL query (if available on the instance)
{baseDir}/scripts/kitchenowl-api.sh graphql \
  --query '{ __typename }'

Recommended flow for shopping-list tasks

  1. Run probe.
  2. Run login (if no valid token is available).
  3. Use request against shopping-list endpoints of the target instance.
  4. If endpoint paths are unknown, start from request GET /api and/or check instance docs.

Operational notes

  • Some instances use reverse proxies with broken redirects (example: /api -> http://localhost/api/).
  • In that case, force the correct --base-url or fix proxy settings server-side.
  • The script does not print plain-text passwords.
  • Tokens are stored locally only in ~/.config/kitchenowl-api/session.json.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-29 18:41 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 67 📥 180,066
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,777
data-analysis

Bitaxe Monitor

pietro395
通过 HTTP API 监控 Bitaxe Gamma 比特币矿机状态。适用于查询矿机状态、算力、温度、功耗或统计数据。支持通过配置文件或环境变量配置设备 IP,获取系统信息,并可格式化输出为可读文本或 JSON。
★ 1 📥 1,952