linkfox-etsy-category-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Etsy 类目检索

Etsy Category Retrieval

要点

Key Points

  • 必填
    keyword
    (子串匹配类目名称、类目 id、
    parentIds
    )。
  • 分页
    page
    从 1 起;
    pageSize
    默认 50、最大 200。
  • 返回的
    id
    可作为 Etsy商品搜索 / 店铺侧
    category
    等入参的类目标识(与具体工具 schema 一致即可)。
  • Required:
    keyword
    (substring match for category name, category id,
    parentIds
    ).
  • Pagination:
    page
    starts from 1;
    pageSize
    defaults to 50, maximum 200.
  • The returned
    id
    can be used as the category identifier for parameters like
    category
    in Etsy product search / shop side (consistent with the specific tool schema).

脚本(可选)

Script (Optional)

命令行调试:
python scripts/etsy_category_search.py '<JSON>'
(需
LINKFOXAGENT_API_KEY
)。详见 references/api.md 末尾。
Command line debugging:
python scripts/etsy_category_search.py '<JSON>'
(requires
LINKFOXAGENT_API_KEY
). See the end of references/api.md for details.

参考

References

入参/出参表见 references/api.md
The input/output parameter table is available in references/api.md.

解决认证和积分问题

Resolving Authentication and Credit Issues

发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
When the following exceptions occur, use references/onboarding.md to guide users to resolve the issues:

异常情况

Exception Scenarios

  • 未配置API Key:环境变量未配置
    LINKFOX_AGENT_API_KEY
    ,也未配置
    LINKFOXAGENT_API_KEY
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
  • API Key not configured: Neither
    LINKFOX_AGENT_API_KEY
    nor
    LINKFOXAGENT_API_KEY
    is configured in environment variables.
  • Response returns 401 or 402 status code
  • Response indicates insufficient credits or balance: The message contains content such as "insufficient credits/insufficient billing/insufficient balance/quota exceeded/insufficient balance/package expired/need to recharge/please recharge" or similar meanings.

积分消耗规则

Credit Consumption Rules

不消耗积分。
No credits are consumed.