views:

11

answers:

0

Hi,

I'm wanting to use the Google Analytics API to display a simple table of "recent visitor" data in my password protected CMS.

I would just like to use the supported JavaScript library (http://code.google.com/apis/analytics/docs/gdata/gdataLibraries.html) and looking at the following demo; http://ga-api-javascript-samples.googlecode.com/svn/trunk/src/v2/datafeed/dataFeed.html it asks the user to login to their Google Account before you can view the page.

Does anyone know if it is possible to simply pass the Google Account username and password to one of the API methods or is this deemed a security risk?

I know that I can use one of the server-side libraries but I just want to see if I can get the JavaScript one to work first.

Cheers