List of all websites and visitors


#1

I am trying to get a list of all websites and the visits for each.
Some thing like:
website1 1000
website2 345
website3 987

I have been trying out the API but not having much luck. I have this url but it returns 0. I definitely have >0 visits. Does anyone know the correct syntax?

http://mywebsite.net/?module=API&method=API.getMetadata&idSite=all&apiModule=VisitsSummary.getUniqueVisitors&apiAction=get&format=xml&token_auth=mycode

Ok I found the URL in my dashboard in the API section. When I try and retrieve a large dataset I get a fatal error saying that the timeout of 30 seconds has been exceeded. How can I change this timeout?


(Matthieu Aubry) #2

http://piwik.org/faq/troubleshooting/#faq_103


#3

Doh! It’s right there! Thanks for the help!