linkfox-shopee-store-auth

Installation
SKILL.md

Shopee 店铺授权与管理

Shopee Open Platform 的 OAuth 授权、已授权店铺列表、访问令牌读取。下游业务的前置依赖(经 /shopee/developerProxy 调用开放接口)。

Core Concepts

  • 授权流程:生成 URL → 用户浏览器授权 → Shopee 推送 Token → 系统按 state 落库
  • 店铺标识shopIdmerchantId 二选一即可定位授权;一次授权可含多个 shop(见 shopIdList
  • shopName 建议填写:调 authorize_url.py 前建议问用户要一个便于识别的店铺名(API 非必填)
  • accessToken 约 4 小时有效expireIn 通常 14400);当前网关无独立刷新接口,过期需重新授权

可用脚本

脚本 作用
authorize_url.py 生成授权 URL(可选 shopName / region
authorized_stores.py 列出已授权店铺
store_tokens.py 查 token(供下游使用)
Installs
13
GitHub Stars
41
First Seen
8 days ago
linkfox-shopee-store-auth — linkfox-ai/linkfox-skills