Ga Cli

C 61 completed
Cli Tool
unknown / go · tiny
18
Files
763
LOC
0
Frameworks
3
Languages

Pipeline State

completed
Run ID
#365275
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
23.54
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #47332
Member of a group with 1 similar repo(s) — canonical #92402 view group →
Top concepts (2)
Project DescriptionCLI Tool
All rows scored by the Repobility analyzer (https://repobility.com)

AI Prompt

Create a command-line tool in Go that queries Google Analytics 4 data. I need it to use the GA4 Data API and Admin API for authentication via a service account. The tool should allow users to list accounts and properties. Crucially, it must support running reports by specifying dimensions (like `date` or `country`) and metrics (like `sessions` or `activeUsers`), accepting start and end dates, and handling pagination with `--limit` and `--offset`. It should also have a specific command for realtime reports and a way to list available metadata. All outputs must be formatted as JSON to standard output.
go cli google-analytics ga4 api json command-line reporting
Generated by gemma4:latest

Catalog Information

Command-line tool for querying Google Analytics 4 data and generating JSON reports.

Description

This CLI enables users to retrieve data from Google Analytics 4 using the official Data and Admin APIs. It supports listing accounts and properties, fetching property details, running custom reports with dimensions and metrics, and accessing real‑time data. All output is delivered in JSON, making it easy to pipe results into scripts or BI tools. Authentication is handled via the standard Google Cloud credential chain, requiring a service account with Viewer access to the property. The tool is designed for analysts and developers who need quick, repeatable queries without building a full application.

الوصف

يتيح هذا الأداة سحب بيانات تحليلات الويب من منصة Google Analytics 4 عبر سطر الأوامر. يدعم استخراج تقارير التاريخية واللحظية مع إمكانية تحديد الأبعاد والقياسات المطلوبة. يُخرج النتائج بصيغة JSON، ما يسهل دمجها مع أنظمة التقارير أو أدوات التحليل الأخرى. يتطلب التوثيق باستخدام حساب خدمة Google Cloud، مع صلاحية المشاهدة على الخاصية المطلوبة. يمكن استخدامه لاستعراض الحسابات والخصائص، جلب تفاصيل الخصائص، وتشغيل تقارير مخصصة مع خيارات للبدء والانتهاء والحدّ والانتقال. كما يتيح استعلامات الوقت الحقيقي لعدد المستخدمين النشطين أو توزيعهم الجغرافي. يوفّر واجهة بسيطة للبحث عن الأبعاد والقياسات المتاحة في كل خاصية. يسهّل على محللي البيانات والفرق التسويقية الحصول على رؤى سريعة دون الحاجة لتطوير واجهات رسومية.

Novelty

5/10

Tags

analytics-reporting data-extraction real-time-monitoring cli-interface json-output service-account-authentication dimension-filtering metric-aggregation

Technologies

ent grpc

Claude Models

claude-opus-4.6

Quality Score

C
61.2/100
Structure
55
Code Quality
86
Documentation
30
Testing
15
Practices
80
Security
100
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Consistent naming conventions (snake_case)
  • Low average code complexity \u2014 well-structured code
  • Good security practices \u2014 no major issues detected
  • Properly licensed project

Weaknesses

  • No tests found \u2014 high risk of regressions

Recommendations

  • Add a test suite \u2014 start with critical path integration tests
  • Add a linter configuration to enforce code style consistency

Security & Health

5.1h
Tech Debt (E)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (10)
Repobility · severity-and-effort ranking · https://repobility.com
MIT
License
17.9%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

go
73.7%
markdown
18.9%
yaml
7.5%

Frameworks

None detected

Concepts (2)

Analysis by Repobility (https://repobility.com) · MCP-ready
CategoryNameDescriptionConfidence
Open data scored by Repobility · https://repobility.com
auto_descriptionProject DescriptionCommand-line tool for Google Analytics 4. Single binary, JSON output, service account auth.80%
auto_categoryCLI Toolcli70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/89449.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV