You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
another way:
$data2= \Piwik\Plugins\Live\API::getInstance()->getLastVisitsDetails($idSite, $period, $date, $segment);
$data2 has 75 rows, but $data1 has 52 rows.
Right now I just find it in Live.getLastVisitsDetails API.
It seems that I use the same API. why $data is different with $data2?
Thanks,
The text was updated successfully, but these errors were encountered:
The PHP script that calls \Piwik\API\Request::processRequest(...) do you call that? On command line? Or via HTTP? If via HTTP, with with URL parameters in the URL?
hello,
i found an issue which is same API call got different result when called by different ways.
one way:
$data = \Piwik\API\Request::processRequest('Live.getLastVisitsDetails', array(
'idSite' => $idSite,
'period' => $period,
'date' => $date,
'segment' => $segment
));
another way:
$data2= \Piwik\Plugins\Live\API::getInstance()->getLastVisitsDetails($idSite, $period, $date, $segment);
$data2 has 75 rows, but $data1 has 52 rows.
Right now I just find it in Live.getLastVisitsDetails API.
It seems that I use the same API. why $data is different with $data2?
Thanks,
The text was updated successfully, but these errors were encountered: