Is it possible to use the Piwik-API with all Websites, not just for a single one?
What i want to do is get a mean value of used browsers. I can do this for a single website like this:
?module=API&method=UserSettings.getBrowser&idSite=1&period=day&date=last10&format=rss
If i just remove idSite=1 i get an error.
You can specify all sites using
idSite=all, you can also specify multiple sites by separating the ids with commasidSite=1,2,4,5.The resulting output is given per idSite wrapped in an extra
<results>tag, so whereas before you hadYou now get
This does mean that any aggregating for your mean value will have to be done once you get the data but this should be relatively trivial.