Number of Unique Visitors by Location over Date Range

I am not able to find a way to get NB_UNIQ_VISTORS by location (UserCountry) over a time period greater than day.

In the example below I can get NB_UNIQ_VISTORS to show for each country for today (single day).

http://demo.piwik.org/?module=API&method=API.getProcessedReport&idSite=7&period=day&date=today&apiModule=UserCountry&apiAction=getCountry&showTimer=1&format=xml&token_auth=anonymous

When I change the period to be year (week, month, etc…) I NO LONGER get the NB_UNIQ_VISOTRS.

http://demo.piwik.org/?module=API&method=API.getProcessedReport&idSite=7&period=year&date=2016&apiModule=UserCountry&apiAction=getCountry&showTimer=1&format=xml&token_auth=anonymous

I need to be able to break down number of unique visitors (NB_UNIQ_VISTORS) by:

  • Day Range (ex: Past 30)
  • Month
  • Year
  • Past 365 Days

see How do I enable "Unique Visitors" metric for Yearly reports and for Custom Date Ranges? - Analytics Platform - Matomo