Node Reporter

I wrote a Node.js module to access more easily reports from the Reporter App. If you already have Node installed, you can install node-reporter like this:

$ npm install node-reporter

For example, you can use it like this to get all the reports made on a cellular network and then get their location to add them to a map.

var Reporter = require('node-reporter');

var reporter = new Reporter();
var reports = reporter.list({ connection: 'cellular' });

var cellularReportsPositions = reports.map(function(report) {
  return { date: report.date, position: report.location };
});