I have a class called [url removed, login to view] 1.3.
This is an amazing class. It can be downloaded online just search google.
Problem I have it this class works with AUTHSUB AND I NEED IT TO WORK WITH OAUTH 2 because google will stop authsub in 2015.
here is a snippet of the code below. Currently it works with your google analytics username and password. I want it to work with authsub instead! I still want to use the class I just want the authentication to change from authsub to oauth.
NB - PLEASE ONLY BID IF YOU KNOW WHAT I AM TALKING ABOUT. ALSO PLEASE GIVE A BRIEF DESCRIPTION OF YOUR UNDERSTANDING OF THIS PROJECT.
$ga = new gapi('','password');
foreach($ga->getResults() as $result)
echo '<strong>'.$result.'</strong><br />';
echo 'Pageviews: ' . $result->getPageviews() . ' ';
echo 'Visits: ' . $result->getVisits() . '<br />';
echo '<p>Total pageviews: ' . $ga->getPageviews() . ' total visits: ' . $ga->getVisits() . '</p>';