Nick Wellnhofer > Net-Google-Analytics > Net::Google::Analytics::Row

Download:
Net-Google-Analytics-3.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 3.02   Source  

NAME ^

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

VERSION ^

version 3.02

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) 2014 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.

syntax highlighting: