360 Secure SkillHub
360 安全技能中心

Listonic

该 Skill 用 Python 与 Bash 脚本调用 Listonic 非官方逆向 Web API,读取本地凭据后列出购物清单与条目,并支持添加、勾选/取消勾选、重命名和删除条目或清单,可输出原始 JSON。删除类操作需用户确认,接口变更时可能失效。

jeremymahieu
jeremymahieu
热度 94.54
最近更新 2026-05-11 16:01:18
分类:生活依赖:代码执行 / 第三方 API / 读写文件应用场景:购物 / 任务管理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add listonic
Metadata
name
listonic
version
1.0.0
description
Access Listonic shopping lists: list lists/items, add/check/delete items, and manage lists.
metadata
{"clawdbot":{"emoji":"🛒","requires":{"bins":["python3"]}}}

Listonic

Manage Listonic shopping lists via the unofficial web API.

Setup

Create ~/.openclaw/credentials/listonic/config.json using one auth mode.

Recommended: token mode (works with Google sign-in)

{
  "refreshToken": "your-refresh-token"
}

Tip: the script now auto-refreshes access tokens and persists updated tokens back to config. It also accepts refresh_token / access_token keys if you paste raw OAuth payload JSON.

Optional (advanced):

{
  "accessToken": "short-lived-access-token",
  "clientId": "listonicv2",
  "clientSecret": "fjdfsoj9874jdfhjkh34jkhffdfff",
  "redirectUri": "https://listonicv2api.jestemkucharzem.pl"
}

Fallback: email/password mode

{
  "email": "you@example.com",
  "password": "your-listonic-password"
}

Workflow

  1. lists to show available shopping lists
  2. items <list> to inspect current items
  3. add-item <list> "Name" to add items
  4. check-item / uncheck-item to toggle completion
  5. delete-item only when user explicitly wants removal

Important

  • This uses an unofficial reverse-engineered API and may break if Listonic changes it.
  • For destructive operations (delete-item, delete-list), confirm with the user first.
  • list arguments can be list ID or a list name (exact/partial match).

Commands

Show all lists

bash scripts/listonic.sh lists

Show items in a list

bash scripts/listonic.sh items 12345
bash scripts/listonic.sh items "Groceries"

Add item

bash scripts/listonic.sh add-item "Groceries" "Milk"
bash scripts/listonic.sh add-item "Groceries" "Flour" --amount 2 --unit kg

Check / uncheck item

bash scripts/listonic.sh check-item "Groceries" 987654
bash scripts/listonic.sh uncheck-item "Groceries" 987654

Delete item

bash scripts/listonic.sh delete-item "Groceries" 987654

Create / rename / delete list

bash scripts/listonic.sh add-list "BBQ Party"
bash scripts/listonic.sh rename-list "BBQ Party" "BBQ"
bash scripts/listonic.sh delete-list "BBQ"

Raw JSON output

bash scripts/listonic.sh --json lists
bash scripts/listonic.sh --json items "Groceries"