VisualAppeal / Matomo-PHP-API

PHP wrapper for the Matomo API.
MIT License
95 stars 33 forks source link

Change getError-Methods to try-catch #48

Closed jstrobel closed 2 years ago

jstrobel commented 2 years ago

Remove functions which requires manual Permission before working

thelfensdrfer commented 2 years ago

The summary for "yesterday" should work by default, shouldn't it? The second range may work too because it is just a week. But I am not sure.

By default, unique visitors are processed for days, weeks and months (they are set to 1).

https://matomo.org/faq/how-to/faq_113/

jstrobel commented 2 years ago

You are right, removed a little "too" much. Just wanted to fix the getErrors-Method (which doesn't work) but i think i was a little too "precise".

jstrobel commented 2 years ago

Will commit new PR