Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting statistics from Google Play Developers with an API

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 :)

like image 718
Cécile Fecherolle Avatar asked Jan 03 '13 14:01

Cécile Fecherolle


People also ask

Does Google Play store have an API?

An API for multiple mobile app stores: Android apps on Google Play and iOS apps on Apple iTunes.

Is there any official API to get app details from the Play Store?

Try this google official api: github.com/googlesamples/android-play-publisher-api/tree/master/…


2 Answers

May the source be with you.

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

like image 195
Robert Estivill Avatar answered Sep 17 '22 06:09

Robert Estivill


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.

like image 40
FeichengMaike Avatar answered Sep 17 '22 06:09

FeichengMaike