Getting statistics from Google Play Developers with an API

AndroidStatistics

Android Problem Overview


I am in charge of developing a website which should be able to show statistics from both Apple's app store and Google Play Store to clients, so they can easily see what's going on.

I have figured out some ways to get App Store's data, but the Google Play Developers statistics seem way harder to get.

I've heard of scraping, but this wouldn't be a great solution, as it would probably get broken whenever the developers console gets a major update.

I'm looking for something which would work like Andlytics or App Annie do, as an example, so I could get data with AJAX or something else (JSON format maybe?) and put it into a database.

For now, I haven't found any reliable solution (besides scraping, which seems like a unstable way to go), and this question has been asked a while ago, so I allow myself to ask it again, because maybe now there are some solutions to get around this.

All I could find was Google Play APIs, which allow me to fetch data from the public page of the app, but not from developers console, with authentication.

Any hints or help will be greatly appreciated :)

Android Solutions


Solution 1 - Android

May the source be with you.

Andlytics is open sourced and actively developed, you can probably find something useful in there :)

Solution 2 - Android

Your Google Play stats are published to files stored in a bucket on Google Cloud Storage (https://support.google.com/googleplay/android-developer/answer/6135870?p=financial_export&rd=1#export)

You can either download the gsutil tool mentioned in the above link and set it up as a cron job to copy the files to wherever you want them every day, or you can use the Google Cloud Storage API (https://cloud.google.com/storage/docs/apis) to go and get the files yourself.

Solution 3 - Android

I know this has already been answered, but this solution deserves some extra attention. There is a really good way of getting data from the Developer console. Take a look at: https://github.com/tmurakam/googleplay_dev_scraper

I have it running on my raspberry pi and it works really good. It's pretty simple to install and further automate it with a bash script. I'd really recommend this scraper to anyone interested in getting data from the developer console! With this you can get almost all data from the developer console. I regularly scrape the downloads numbers and save them to my webpage.

Solution 4 - Android

It seems that Google has already allowed us to get this data through their API. Here is a page with all the available metrics that you can issue requests for.

https://developers.google.com/analytics/devguides/reporting/core/dimsmets#mode=web&cats=user,lifetime_value_and_cohorts,channel_grouping,app_tracking

Solution 5 - Android

You could use Google Analytics in both IOS and Android projects to record installs and in-app purchases. You can check it out here. It should be very easy to add google analytics to both platforms.

Solution 6 - Android

Why not use App Annie, AppFigures (and similar) API's and let them take care of scraping/interfacing with Google Play and App Store?

http://support.appannie.com/categories/20082753-Analytics-API

http://docs.appfigures.com/

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCécile FecherolleView Question on Stackoverflow
Solution 1 - AndroidRobert EstivillView Answer on Stackoverflow
Solution 2 - AndroidFeichengMaikeView Answer on Stackoverflow
Solution 3 - AndroidpeterkodermacView Answer on Stackoverflow
Solution 4 - AndroidJahziel Rae ArceoView Answer on Stackoverflow
Solution 5 - AndroidHailZeonView Answer on Stackoverflow
Solution 6 - AndroidWizcheView Answer on Stackoverflow