Once again this documentation is shit.
http://piwik.org/faq/how-to-install/#faq_76
Mentions nothing about specifying siteID when you want to access the API.
When runnings an API rest call I get this result:
array(2) { [“result”]=> string(5) “error” [“message”]=> string(86) “You can’t access this resource as it requires an ‘view’ access for the website id = 2.” }