Net::Google::Analytics::Row - Base class for Google Analytics API result rows
version 3.05
Result row class for Net::Google::Analytics web service.
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.
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.
Nick Wellnhofer <wellnhofer@aevum.de>
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.
To install Net::Google::Analytics, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Google::Analytics
CPAN shell
perl -MCPAN -e shell install Net::Google::Analytics
For more information on module installation, please visit the detailed CPAN module installation guide.