NAME

Net::Google::Analytics::Feed - Google Analytics API feed

DESCRIPTION

This is a base class for the feeds of the Google Analytics Data Export API. Account feeds are implemented in Net::Google::Analytics::AccountFeed. Data feeds are implemented in Net::Google::Analytics::DataFeed.

See <http://code.google.com/apis/analytics/docs/gdata/gdataReference.html>.

METHODS

new_request

my $req = $feed->new_request();

Creates and returns a new Net::Google::Analytics::FeedRequest object for this feed.

retrieve

my $res = $feed->retrieve($req);

Retrieves data from the feed. $req is a Net::Google::Analytics::FeedRequest object. You should use a request object returned from the "new_request" method. This method returns a Net::Google::Analytics::FeedResponse object.