We have an Androïd app on Google Play and I'd like to retrieve the sales report programmatically. Apple provides the Autoingestion tool which allows a Java app to retrieve them, and there's even a Ruby port : https://github.com/siuying/itunes-auto-ingestion
Does anybody know if there's something similar for Androïd or at least an API ? I could not find it.
Many thanks in advance,
Geoffroy
Google Checkout (which is used by Play for billing) has an API, but you need a merchant key to use it, and it is not available in all countries.
https://developers.google.com/checkout/samplecode
As someone pointed out below, Google Checkout has been discontinued. The new Google Wallet site does not offer a real API, but you can download your reports, which are stored on Google Drive, using the Google Drive API or command line tools. Reports are in CSV format, so they are easy to parse.
Additionally, the Google Play Developer console now shows sales data. Checkout the Andlytics app, it can fetch and display sales numbers (available in the alpha version). It is also open source.
https://play.google.com/store/apps/details?id=com.github.andlyticsproject
Edit 2014/02/18
Wikipedia
Google Checkout was discontinued on November 20, 2013. The company offered a new solution for certain payments called Google Wallet
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With