I want to write an arduino application based on the output of piwik, and I want to use the VisitsSummary.getVisits function from the API to get the total of all visits to all sites in the last 10 days. However the API does not let me do that.
To export data for multiple websites, select XML format instead, as we have chosen not to implement RSS for idSite=all or multiple sites. XML or JSON would work well for arduino i think
Arduino is such a great thing, I’m quite interested in your project, please send a few pictures or even consider posting a howto in this forum: 301 Moved Permanently
I’ll have to rewrite my parser than, but that’s o.k Sure once I’ve got the thing working 100% I am going to post a demo/code on howto forum.
It’s basically like this, I have a python script which parses the visists of the last 10 days and calculates a percentage compared to the value today. This gives me a float number which can be from 0% to >100%, depending on that I light up LEDS on my breadboard so for instance for 10% I light up 1/10 LEDS for 20% 2/10LEDS and so on.
It’s not that exciting but I want to have something at home showing me how much traffic I have, and if for some reason I have more traffic than usual.