تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

kroger

بواسطة tongyanli-hash

Search & Research
468التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Search Kroger products and add items to a Kroger cart via the Kroger API.

الوصف

ما الذي تفعله هذه المهارة

Connects to the Kroger public API to search products by keyword, add items to a cart, and find nearby store locations by zip code. Requires a registered Kroger developer app and OAuth authentication.

Handles OAuth token refresh automatically, so repeated grocery runs don't require re-authentication.

متى تستخدمها

  • Adding a weekly grocery list to a Kroger cart
  • Finding which nearby Kroger carries a specific product
  • Building a cart from a recipe's ingredient list
  • Looking up store location IDs before filtering product searches
  • Checking product availability at a specific store

مثال على سير العمل

الإدخال

User asks: Add milk, eggs, and bread to my Kroger cart

الوكيل
  1. 1

    Search for each item using scripts/kroger.sh search

  2. 2

    Present top results to the user for confirmation

  3. 3

    Run scripts/kroger.sh add for each confirmed product ID

  4. 4

    Confirm all items were added to the cart

الإخراج

Three items added to the user's Kroger cart with correct quantities

المتطلبات

  • Kroger developer account at developer.kroger.com
  • Registered Kroger application with Product and Cart API access enabled
  • KROGER_CLIENT_ID environment variable
  • KROGER_CLIENT_SECRET environment variable

التثبيت

clawhub install tongyanli-hash/kroger

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط