API Question


#1

Hey guys!

Before I say anything, I love Piwik, and thank you for working so hard on such an amazing product!

Now, I must ask, I am using Piwik’s builtin API to grab data from the database.
Problem is, I want to grab pageviews from day X to Y, and it just gives me total, while I’d need an array of daily values…

I’ve looked on the API examples it comes with, and saw nothing of the sort.

Any clues, guys?

Thanks!


(Matthieu Aubry) #2

You can use date=last30 and period=day and it should return daily pageviews.