Registry / networking / legato

legato

JSON →
library0.7.0rbrubygemsunverified

Access the Google Analytics Core Reporting and Management APIs with Ruby, creating models for metrics and dimensions.

gem install legato
INSTALL
IMPORT
SIG · LEGATO
L
legato
networkingrubyv0.7.0
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.

Legato
require 'legato'

Authenticate and fetch sessions report from Google Analytics

require 'legato' client = Legato::Client.new('ACCESS_TOKEN') profile = client.profiles.first report = profile.sessions.by_date puts report.results
Debug
Known issues
breakingGoogle Analytics API v3 is deprecated; consider migrating to v4.
fix
Use google-apis-analyticsreporting_v4 gem instead.
affects: >= 0.7.0
Upgrade
Version history
0.7.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
legato — gem install legato · libregistry