How to retrieve my Install Statistics from the Google Developer's Console

98 views Asked by At

I am trying to programmatically retrieve my company's app data from the Google Developer's Console, specifically the daily installs. I have found that Google recommends the gsutil tool to access the data programmatically through the Google Cloud Storage SDK. However, I beleive they charge for this service. I want a free way to programmatically retrieve the data, preferably as a JSON stream to avoid dealing with file downloads. I have found the "direct reporting" links, but I have problems authenticating when I try to use them, and I also have to do something with the actual files then.

Is there a way to get a JSON version of the data through OAuth2 or something without downloading an Excel file? Has anyone had to do this?

2

There are 2 answers

0
AmishJohn81 On BEST ANSWER

Using the gsutil tool to access the company's storage bucket that are provided by google is a free service. I wrote a code that will run the gsutil code as a process through the command line and parsed the downloaded .csv files into a database for storage. OAuth2 was not necessary.

1
Matt On

You should look into use the Core Reporting API.

There are client libraries available in a number of languages.

You should work through the Hello Analytics APIs to get started.

Java Script PHP Python Java

A quick solution for building a dashboard would also be the Embed API.