linkfox-temu-category-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Temu 类目检索

Temu Category Search

要点

Key Points

  • 必填
    keyword
    (子串匹配类目中文名、英文名、类目 id)。
  • 分页
    page
    从 1 起;
    pageSize
    默认 50、最大 200。
  • 返回的
    id
    /
    categoryId
    可作为 Temu 商品查询的
    categoryHome
    /
    categoryBackend
    、店铺查询的
    category
    等入参的类目标识(与具体工具 schema 一致即可)。
  • Required:
    keyword
    (substring match for category Chinese name, English name, category id).
  • Pagination:
    page
    starts from 1;
    pageSize
    defaults to 50, maximum 200.
  • The returned
    id
    /
    categoryId
    can be used as the category identifier for parameters such as
    categoryHome
    /
    categoryBackend
    in Temu product queries,
    category
    in store queries, etc. (just align with the specific tool schema).

脚本(可选)

Script (Optional)

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

参考

References

入参/出参表见 references/api.md
See references/api.md for the input/output parameter table.

解决认证和积分问题

Resolve Authentication and Points Issues

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

异常情况

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 with 401 or 402 status code
  • Response indicates insufficient points or balance: The message contains "insufficient points balance/insufficient billing/insufficient balance/quota exceeded/insufficient balance/package expired/need to recharge/please recharge" or similar meanings.

积分消耗规则

Points Consumption Rules

不消耗积分。
No points are consumed.