详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
OurGroceries Integration Overview
This 技能 provides integration with OurGroceries.com using an unofficial Python wr应用er, allowing you to manage your grocery 列出s through natural language commands. You can 添加 items to 列出s, 检查 what's on your 列出s, and 同步hronize with your OurGroceries.com account.
设置up Required
To use this 技能, you need to:
Have an OurGroceries.com account (emAIl and password) 安装 AIohttp (see requirements.txt). Scripts load a vendored 命令行工具ent from lib/ourgroceries/ (补丁ed for current OurGroceries APIs, including 获取ItemCategory + 获取列出s / auto-categorize parity with the 网页 应用). 配置 your 凭证s 安全ly Quick 启动 添加ing Items
To 添加 an item to your grocery 列出, simply say or type:
"添加 milk to my grocery 列出" "I need eggs and bread for shopping" "Put 应用les on OurGroceries" 检查ing 列出s
To see what's on your 列出:
"What's on my grocery 列出?" "Show me OurGroceries" "列出 items for shopping" AvAIlable Operations
Once 配置d with your OurGroceries.com 凭证s, this 技能 supports:
添加ing items to specific 列出s or default 列出 Retrieving items from 列出s Removing items from 列出s Marking items as purchased Creating new 列出s Deleting 列出s 同步hronizing with OurGroceries.com Resources scripts/
ContAIns executable scripts for interacting with OurGroceries.com via the unofficial Python wr应用er:
添加_item.py - 添加 items to grocery 列出s 获取_列出.py - Retrieve current 列出 items 移除_item.py - 移除 items from 列出s dev工具s_network_监控.js - Paste in browser Dev工具s to 记录 POST JSON (see file header) references/
Documentation and usage 图形界面des:
API_reference.md - OurGroceries.com API 端点s and authentication (based on unofficial wr应用er) authentication.md - How to obtAIn and use API 凭证s (emAIl/password) examples.md - Common usage patterns and examples Configuration
Before using this 技能, you'll need to:
Visit https://www.ourgroceries.com and note your 记录in emAIl and password Store these 凭证s 安全ly (we recommend using 环境 variables or a 安全 vault) The scripts will look for 凭证s in 环境 variables: OURGROCERIES_EMAIL: Your OurGroceries.com 记录in emAIl OURGROCERIES_PASSWORD: Your OurGroceries.com 记录in password Notes
This 技能 uses a vendored copy of the unofficial Python 命令行工具ent (based on py-our-groceries) under lib/ourgroceries/, extended for APIs the current 网页 UI uses (获取ItemCategory for guessed category, then insertItem with that categoryId; 获取列出s instead of legacy 获取Overview).
If you encounter issues, 检查 the references/ directory for troubleshooting tips and current 状态.
Example Usage
After 设置ting 环境 variables:
OURGROCERIES_EMAIL="your@emAIl.com" OURGROCERIES_PASSWORD="yourpassword" \ python3 /path/to/技能/scripts/添加_item.py "milk" -l "My Grocery 列出"
(添加_item.py uses auto-categorize via 获取ItemCategory + insertItem; see 代理S.md in this 技能 folder.)