There is a nice tutorial showing how to use the API: Piwik API: calling techniques
Nice, but what i do not understand is the php.sample and the error which follows (on this page):
Fatal error: Class ‘Piwik_FrontController’ not found in /home/www/piwik.org/demo/misc/api_internal_call.php on line 8
For me it seems that this sample is outdated - or not?
If, could someone of the team update this page?