Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] [OT] Scraping Google Analytics for top ten pages on a site



On 2010-01-21 23:54, Dave M G wrote:
> Yeah, the Google API is clearly the way to go... though it's not at all
> user friendly.
> 
> I think this page does what I want...
> 
> http://code.google.com/apis/analytics/docs/gdata/1.0/gdataJava.html

Note that version 2 is available now.  I'd also suggest that you look
at the Javascript implementation which is easier to use.

<http://code.google.com/apis/analytics/docs/gdata/2.0/gdataJavascript.html>

They even have an example that fetches the top 10 pages, which I
believe was your goal.  See the "Top Pages By Pageviews" example here:

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



-- 
Jim Tittsler  7J1AJH/ZL2IA/AI8A  Gisborne, NZ        GPG: 0x01159DB6
Kanto Computer Calendar  http://www.OnJapan.net/calendar/
Python Starship          http://Starship.Python.net/



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links