NAME

Net::Google::Analytics::Row - Base class for Google Analytics API result rows

VERSION

version 3.05

DESCRIPTION

Result row class for Net::Google::Analytics web service.

CONSTRUCTOR

new

GENERATED ACCESSORS

my $year = $row->get_year;
my $page_path = $row->get_page_path;

For every dimension and metric, an accessor of the form "get_..." is created. The 'ga:' prefix is stripped from the dimension and metric names and camel case is converted to lower case with underscores.

METHODS

get

my $value = $row->get($dimension_name);
my $value = $row->get($metric_name);

Returns the value of the dimension or metric with the given name. Use names without the 'ga:' prefix and converted to lower case with underscores.

AUTHOR

Nick Wellnhofer <wellnhofer@aevum.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Nick Wellnhofer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.