Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'garb'
- username = 'foo'
- password = 'bar'
- Garb::Session.login(username, password)
- profile = Garb::Profile.all.select{ |p| p.title == 'foobar' }.first
- options = {
- :metrics => [ :visits ],
- :dimensions => [ :date ]
- }
- report = Garb::Report.new(profile, options)
- results = report.results
Add Comment
Please, Sign In to add comment