I am starting out and want to add in API integration to my site. But where is the php class?
I have Piwik installed on a separate server so i need to reference (i think) the API class from my site libs/ folder.
I want to add the class to my site lib/ folder and reference via that so in my controllers i can execute functionality like :
$data = $this->Piwik->getPageUrl ($url, ‘12’, ‘day’, ‘today’, segment = ‘’, ‘format=JSON’);
Just an example to access all the API options available.
Is there a skeleton example of all the available functions in php?
Thanks,
Dave