Skip to content

gplay metadata images pull

Rapatriate the Store images currently live on Google Play for --package into the local Metadata tree under --dir (default ./metadata): singular slots as <locale>/images/<type>.<ext> and gallery slots as <locale>/images/<type>/1.<ext>…N.<ext> in display order.

Reads inside a read-only Edit (open → list slots → download bytes → discard); nothing is committed. The write is additive — a slot with no images online writes nothing, so pull never emits an empty slot and a metadata images apply immediately after a pull is a no-op (ADR-0013). Filenames are synthesized (the API carries none) and the extension is sniffed from the image bytes (PNG/JPEG), not the response header.

gplay metadata images pull [flags]
FlagDescription
--dir stringdirectory to write the Metadata tree into (default "./metadata")
--output stringoutput format: table, json, or markdown (default: auto — table on TTY, json in pipes/CI)
--package stringAndroid package name (overrides .gplay/config.json pin)
FlagDescription
--account stringname of a stored Account to use (overrides env and active Account)
--retry intretry transient failures (transport errors, 5xx, 429) up to N times with exponential backoff (default: 0, no retry)
--service-account stringpath to a service-account JSON, or inline JSON content (overrides --account, env, and active Account)
--timeout durationper-request API timeout, e.g. 30s or 2m (default: 60s for control-plane calls, none for uploads)
-v, --verboselog flow steps to stderr (info level)