Re: Scrape?

From: Date: Mon, 12 Nov 2007 17:40:47 +0000
Subject: Re: Scrape?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-264381@lists.php.net to get a copy of this message
At 5:26 PM +0000 11/12/07, Stut wrote:
Daniel Brown wrote:
On Nov 12, 2007 12:20 PM, Stut <stuttle@gmail.com> wrote:
tedd wrote:
I have a Google Analytics account covering one of my web sites and I was wondering if it's possible to extract data from it? If it can be done, then how would one do it?
Not really PHP-related, but at the top of each page in Analytics there's an Export button. Depending on what page you're looking at you can get a variety of formats including XML, CSV and TSV. Not sure if you can get at it without going through the login process.
    I would certainly hope not, but the login could be automated using
cURL anyway.
One option would be to use the email feature to get it sent to a PHP script on a schedule. -Stut
-Stut: You're always bright, but sometimes you're brilliant. That will work -- thanks. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#264381) next »