Google Analytics API LaunchedPosted Apr. 23, 2009 in Miscellaneous Postings and PHP
Google have finally launched an API for Google Analytics, rendering my tutorial series about how to get Analytics data via email somewhat redundant. However despite that I'm pleased they've done this as it makes accessing data a lot easier (and there was a lot of other useful stuff in that series).
You can read more about this at the Analytics Blog announcement and Alex Curelea posted a tutorial about how to get the number of pageviews using the API with PHP and CURL. I haven't had time to have a good read through the tutorial yet or try it out myself but check it out here for yourself.
I may look at putting up some tutorials about how to access the API with PHP myself in the coming few days.