gsc-ga4-cli
v0.1.0
Published
Command-line tools for the Google Search Console API and Google Analytics 4 (Data + Admin) API, with generic raw passthrough for full API coverage
Maintainers
Readme
gsc-ga4-cli
Command-line tools for the Google Search Console API and the Google Analytics 4 API (Data API + Admin API). Zero runtime dependencies (Node.js >= 18).
npm install -g gsc-ga4-cli
gsc sites list
gsc query --dimensions page,query --row-limit 100
gsc inspect https://example.com/page
ga4 summaries
ga4 report --property 123456789 --dimensions pagePath --metrics screenPageViewsFull documentation, setup guide (service account, API enablement, permissions), and a Python implementation with the same interface: https://github.com/nogataka/gsc-ga4-cli
