[PR #32] [MERGED] Add analytics and sales reporting commands #241

Closed
opened 2026-02-26 21:34:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/32
Author: @rudrankriyam
Created: 1/21/2026
Status: Merged
Merged: 1/21/2026
Merged by: @rudrankriyam

Base: mainHead: issue-26-analytics


📝 Commits (5)

  • 69ae966 Add analytics and sales report workflows
  • 9b6b70a Add timeout overrides for ASC requests
  • 676468b Add paginate option for analytics get
  • e283880 Support monthly and yearly sales report dates
  • 3012b3d Document analytics sales date formats

📊 Changes

12 files changed (+2494 additions, -2 deletions)

View changed files

📝 Agents.md (+12 -0)
📝 README.md (+33 -0)
cmd/analytics.go (+622 -0)
cmd/analytics_helpers.go (+336 -0)
cmd/analytics_helpers_test.go (+97 -0)
cmd/analytics_test.go (+202 -0)
📝 cmd/commands.go (+2 -1)
internal/asc/analytics.go (+517 -0)
internal/asc/analytics_output.go (+259 -0)
internal/asc/analytics_test.go (+247 -0)
📝 internal/asc/client.go (+92 -1)
📝 internal/asc/output_test.go (+75 -0)

📄 Description

Summary

  • add analytics and sales report client support with streaming downloads
  • add analytics CLI commands with validation, gzip handling, and metadata output
  • extend output formatting, tests, and README docs

Test plan

  • make test
  • make lint
  • make format (gofumpt not available locally)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/32 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 1/21/2026 **Status:** ✅ Merged **Merged:** 1/21/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `issue-26-analytics` --- ### 📝 Commits (5) - [`69ae966`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/69ae966f1388119a494c75ce32f35c667904522d) Add analytics and sales report workflows - [`9b6b70a`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/9b6b70a88c322d8e6341a8805e537d96786f8f21) Add timeout overrides for ASC requests - [`676468b`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/676468b34ecb5bd20adc9bff6a11dc183ec7beea) Add paginate option for analytics get - [`e283880`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/e28388091e4d7e7a83ebfc5962e09a0bb367d262) Support monthly and yearly sales report dates - [`3012b3d`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/3012b3db85ab43ee59c84a24f7627c6db1ee8ada) Document analytics sales date formats ### 📊 Changes **12 files changed** (+2494 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Agents.md` (+12 -0) 📝 `README.md` (+33 -0) ➕ `cmd/analytics.go` (+622 -0) ➕ `cmd/analytics_helpers.go` (+336 -0) ➕ `cmd/analytics_helpers_test.go` (+97 -0) ➕ `cmd/analytics_test.go` (+202 -0) 📝 `cmd/commands.go` (+2 -1) ➕ `internal/asc/analytics.go` (+517 -0) ➕ `internal/asc/analytics_output.go` (+259 -0) ➕ `internal/asc/analytics_test.go` (+247 -0) 📝 `internal/asc/client.go` (+92 -1) 📝 `internal/asc/output_test.go` (+75 -0) </details> ### 📄 Description ## Summary - add analytics and sales report client support with streaming downloads - add analytics CLI commands with validation, gzip handling, and metadata output - extend output formatting, tests, and README docs ## Test plan - [x] make test - [x] make lint - [ ] make format (gofumpt not available locally) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:34:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#241
No description provided.