Skip to content

Instantly share code, notes, and snippets.

@tomothumb
Created June 19, 2015 16:14
Show Gist options
  • Save tomothumb/3a3774bc700d66ab43c3 to your computer and use it in GitHub Desktop.
Save tomothumb/3a3774bc700d66ab43c3 to your computer and use it in GitHub Desktop.
require_once 'gapi.class.php';
$ga = new gapi($email, $key);
$ga->requestReportData(............);
// same as default of GAPI
$reportxml = $ga->getResultsXML(); // return xml format string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment