Based on the conversation here: Is there an API to get sales report on Google Play?
There may be a way to make an HTTPS Request (?) to google play to retrieve the download statistics programatically. I am trying to set up a program that runs everyday and downloads this information as a csv file.
Does anyone have an example of how to make the request and provide authentication?
Basically I want to download the information Andlytics provides in a csv
There is no API. The good news is that the new Google Play Console interface, now available to everyone, allows CSV export of all statistics.
Just for fun, here are some other pointers :
The Andlytics application is just doing a simulation of the browser and parses the JSON AJAX requests. It is open source, you can find all the code (in Java) here https://github.com/AndlyticsProject/andlytics
You can also do a basic console scraper using Rails and Selenium :
Just add the CSV/db stuff and a cronjob, it should work.