SuperAPI AI 工具集

gpc-metadata-sync

数据与分析

查看项目

更新于 10-16 06:46

技能介绍

用途:该技能用于管理 Google Play 商店的应用列表(listings)与图片资源(images),包括元数据的读取、更新、同步,以及截图的上传、删除与批量同步。当需要更新商店文案、上传手机截图或让本地 metadata 目录与商店保持一致时适用。

主要能力与用法: 列表操作:gpc listings list;gpc listings get --locale en-US;gpc listings update --locale en-US --title "My App";gpc listings sync --dir ./metadata。 图片操作:gpc images list --locale en-US --type phoneScreenshots;上传 gpc images upload --locale en-US --type phoneScreenshots --file screenshot1.png;删除 gpc images delete --locale en-US --type phoneScreenshots --id IMAGE_ID;清空某类型 gpc images delete-all --locale en-US --type phoneScreenshots。 同步:gpc images sync --dir ./screenshots,默认追加,使用 --replace 会在上传前清空每个发现的 locale/type 组合。 编辑控制:通过 --edit-mode 支持批处理或延迟审核,例如 --edit-mode=stage 或 --edit-mode=open;可配合 gpc edits validate --edit-id EDIT_ID 与 gpc edits commit --edit-id EDIT_ID --edit-mode=stage 使用。 上传进度:gpc images upload 与 gpc images sync 支持可选 --progress 输出。

目录驱动的流程:先 gpc listings sync --dir ./metadata --edit-mode=open,再 gpc images sync --dir ./screenshots --replace --edit-mode=open,随后校验并提交 edit。

代理行为建议:覆盖某 locale 前先读取当前列表状态;仓库已有 metadata 目录时优先使用 sync 命令;删除图片只能通过 --id,不能按校验和或 SHA 引用;不要声称该 CLI 会自动校验 Play 图片尺寸。上述之外的收费、平台限制等事实暂未提供。