Registry / networking / gattica

gattica

JSON →
library0.4.3rbrubygemsunverified

A Ruby library for extracting data from the Google Analytics API.

gem install gattica
INSTALL
IMPORT
SIG · GATTICA
G
gattica
networkingrubyv0.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Gattica
require 'gattica'

Fetch pageviews from Google Analytics

require 'gattica' analytics = Gattica.new(token: 'token', profile_id: '123') data = analytics.get(metrics: ['pageviews'], start_date: '2023-01-01') puts data
Debug
Known issues
breakingUses the older Google Analytics API (v3); may require migration to GA4.
fix
Consider using google-apis-analytics_v3 or google-analytics-data for GA4.
affects: >= 0.0.0
Upgrade
Version history
0.4.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
gattica — gem install gattica · libregistry