Skip to content

v0.9.93 — Live Report Downloads

Choose a tag to compare

@yasserstudio yasserstudio released this 01 Aug 11:07
· 54 commits to main since this release

What's Changed

  • feat: gpc reports now downloads real data. reports list, reports download stats, and reports download financial fetch Play bulk reports straight from your account's Cloud Storage bucket, decompressed and decoded to clean UTF-8 CSV, ready to pipe into any tool. Previously these commands could only point you at the Play Console.
  • feat: pick your slice with --dimension (overview, country, device, app_version, and more) and --month; override the bucket with --bucket, the reports.bucket config key, or GPC_REPORTS_BUCKET.
  • feat: financial ZIP archives unwrap automatically when they hold a single CSV. Save the whole archive with --output-file report.zip, or get every entry inline with --json.
  • feat: gpc doctor now checks report-bucket access and tells you when the service account is missing the Play Console "download bulk reports" grant. New gpc auth clear-cache clears cached tokens without touching your credentials.
  • security: the read-only storage scope is requested only by the reports commands, never by anything else, and cached tokens are keyed by scope so they cannot cross over.

One-time setup: in Play Console, enable "View app information and download bulk reports (read-only)" for your service account under Users and permissions, then set your developerId (or reports.bucket) so GPC can find the bucket. Full guide: https://yasserstudio.github.io/gpc/commands/reports

SDK note (CLI users unaffected): @gpc-cli/api removes the non-functional client.reports.list endpoint, and @gpc-cli/core replaces downloadReport with downloadStatsReport / downloadFinancialReport.

Full Changelog: v0.9.92...v0.9.93