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
BugFor errors / faults / flaws / inconsistencies etc.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
Return:
Array
(
[result] => error
[message] => Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information)
)
The text was updated successfully, but these errors were encountered:
BugFor errors / faults / flaws / inconsistencies etc.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
If I use two dates or less in my api post it works:
URL:
http://piwik.mydomain.biz/index.php?token_auth=3a6b85898370f27c438b6a1cd886b874&format=PHP&module=API&method=VisitsSummary.getVisits&period=day&idSite=2&date=2010-08-15,2010-08-16
Return:
Array
(
[2010-08-15] => 165
[2010-08-16] => 99
)
If I send 3 or more days I get an error.
URL:
http://piwik.mydomain.biz/index.php?token_auth=3a6b85898370f27c438b6a1cd886b874&format=PHP&module=API&method=VisitsSummary.getVisits&period=day&idSite=2&date=2010-08-14,2010-08-15,2010-08-16
Return:
Array
(
[result] => error
[message] => Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information)
)
The text was updated successfully, but these errors were encountered: