返回技能中心
🛵

ordercli

Command-line tool to track active Foodora orders, browse order history, and quickly reorder from your terminal.

作者 OpenClaw
效率与任务效率自动化CLI开发者工具API

# ordercli Command-line tool to track active Foodora orders, browse order history, and quickly reorder from your terminal. ordercli is a command-line interface for food delivery platforms, currently supporting Foodora (with Deliveroo support in progress). It lets you check real-time order status, browse your order history, and even trigger reorders — all without leaving the terminal.Whether you want to watch a live delivery countdown, inspect a past order's details as JSON, or quickly reorder a favourite meal with a single command, ordercli brings your food delivery account directly into your workflow. ## How It Works ordercli authenticates with your Foodora account and communicates with the platform's API on your behalf. Here's a typical flow:Set your country: ordercli foodora config set --country ATLog in with your credentials: ordercli foodora login --email [email protected] --password-stdinList active orders: ordercli foodora ordersBrowse history: ordercli foodora history --limit 20Reorder a past meal: ordercli foodora reorder --confirmIf Foodora's bot-protection (Cloudflare) interferes, ordercli can launch a real browser session for login via --browser, and you can also import cookies directly from Chrome to skip re-authentication. ## Key Features Live Order Tracking — View active orders with estimated arrival and status; use --watch to poll continuously.Order History — Browse past orders with configurable limits and view full details as JSON with history show --json.One-Command Reorder — Preview a reorder before confirming, with optional address selection via --address-id.Cloudflare / Bot Protection Bypass — Supports browser-based login and Chrome cookie import so authentication succeeds even on protected endpoints.Session Import — Import an existing Chrome session instead of re-entering credentials, and refresh tokens with a specific client ID.Deliveroo Support (WIP) — Early-stage Deliveroo integration is in progress; history commands are available when a bearer token is provided. ## Requirements Foodora Account — Required. A valid Foodora email and password (or an importable Chrome session) is needed to authenticate and access orders.Deliveroo Bearer Token — Optional. Required only for the in-progress Deliveroo integration. Set via the DELIVEROO_BEARER_TOKEN environment variable. An additional DELIVEROO_COOKIE variable is also supported optionally. ## Use Cases Developer Lunch Tracker — Check if your Foodora delivery has arrived without switching away from your IDE or terminal session.Reorder Regulars — Quickly reorder a saved favourite meal with a single confirmed command, bypassing the app UI entirely.Order Auditing — Export past order details as structured JSON for expense tracking, personal records, or data analysis.CI / Automation Scripts — Integrate delivery status into custom scripts or dashboards using the --json output flag. ## Installation Install via: `npx clawhub@latest install ordercli`

安装

1

在终端中运行

npx clawhub@latest install ordercli
2

点击本页顶部的安装按钮进行一键安装