Add an API to access statistics

I’m building a local datawarehouse / workbook that imports statistics from Mozilla AMO and CWS to analyze them. Currently, I have to manually export the CSVs for each data point. I’d like an API to automate access to this

See also Add more statistics for user acquisition funnel - page views and impressions