问题描述
我们在 Google Play 上有一个 Androïd 应用,我想以编程方式检索销售报告.Apple 提供了 Autoingestion 工具,它允许 Java 应用程序检索它们,甚至还有一个 Ruby 端口:https://github.com/siuying/itunes-auto-ingestion
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
有人知道 Androïd 是否有类似的东西,或者至少有一个 API 吗?我找不到.
Does anybody know if there's something similar for Androïd or at least an API ? I could not find it.
非常感谢,
杰弗里
推荐答案
Google Checkout(Play 用于计费)有一个 API,但您需要一个商家密钥才能使用它,并且并非在所有国家/地区都可用.
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
正如下面有人指出的那样,Google Checkout 已停止使用.新的 Google Wallet 网站不提供真正的 API,但您可以使用 Google Drive API 或命令行工具下载存储在 Google Drive 上的报告.报告采用 CSV 格式,因此易于解析.
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.
此外,Google Play 开发者控制台现在会显示销售数据.查看 Andlytics 应用程序,它可以获取和显示销售数字(在 alpha 版本中可用).它也是开源的.
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
编辑 2014/02/18
Edit 2014/02/18
维基百科
Google Checkout 已于 2013 年 11 月 20 日停用.该公司为某些付款提供了一种名为 Google Wallet 的新解决方案
Google Checkout was discontinued on November 20, 2013. The company offered a new solution for certain payments called Google Wallet
这篇关于是否有 API 可以在 Google Play 上获取销售报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!