title: Piwik Analytics get summary statistics for particular page via REST
body: <p>Trying to implement Piwik using REST API over http but need a little help.</p>
  
  <p>What I'm trying to do is get the analytics for a particular page where a custom field = x.</p>
  
  <p>I'm not sure if I'm going about it the right way but I have this so far:</p>
  
  <p><a href="http://www.mysite.co.uk/dashboard/analytics/index.php?module=API&amp;method=VisitsSummary.get&amp;idSite=1&amp;period=month&amp;date=today&amp;segment=customVariableValue1==x&amp;filter_limit=20&amp;format=xml&amp;token_auth=xxxxxxxxxxxxxxxxx" rel="nofollow">http://www.mysite.co.uk/dashboard/analytics/index.php?module=API&amp;method=VisitsSummary.get&amp;idSite=1&amp;period=month&amp;date=today&amp;segment=customVariableValue1==x&amp;filter_limit=20&amp;format=xml&amp;token_auth=xxxxxxxxxxxxxxxxx</a></p>
  
  <p>My custom field is set up and viewable in the admin.</p>
  
  <p>However the result just seems to return 0 for everything. I'm testing by inserting the url directly into a browser and also by fetching in php.</p>
  
  <p>Also is there a method to get all statistics for a particular page and given date range where custom field = x? I can't seem to see one in the API docs.</p>
  
  <p>Any help/ examples would be appreciated.</p>