You can always use Zend Framework's Zend_Gdata library. You can find example at my blog - http://blog.wilgucki.pl/2010/03/top-10-w-oparciu-o-google-analytics-i.html
Unfortunately its in polish language, so look at source code only.