使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Google Play Developer API
您可以使用 Google Play Developer API 执行多项发布和应用管理任务。该 API 包含两个组件:
订阅和应用内购买交易
您可以使用 Google Play Developer API 管理以下事项:
您可以利用这些资源来查看购买交易状态,以及修改和取消周期性购买交易。
如需详细了解如何在 Android 应用中销售订阅,请参阅 Android 开发者网站上的 Google Play 应用内购买结算。
Publishing API
您可以通过 Google Play Developer Publishing API 自动执行与应用制作和分发相关的常见任务,其中包括与 Play 管理中心为开发者提供的功能类似的功能,例如:
- 上传应用的新版本
- 通过将 APK 分配至各个轨道(Alpha 版、Beta 版、分阶段发布版本或正式版)来发布应用
- 创建和修改 Google Play 商店中的商品详情,包括已本地化的文字和图形以及多设备屏幕截图
这些任务是通过新的编辑会话功能来执行的,该功能采用事务型方式管理更改。您可以将多项更改打包到一个草稿编辑会话中,然后一次性提交所有更改。(只有在提交编辑会话后,这些更改才会生效)。
使用入门
如需开始使用 Google Play Developer API,请查看使用入门页面。
您可以使用 Java 库和 Python 库来管理与 Publishing API 的交互。我们在客户端库和代码示例页面上提供了代码示例。如果您使用的是其他语言,您可以直接通过 HTTP 访问 REST API。
如果您在使用 Google Play Developer API 时遇到问题,我们随时为您提供帮助。
其他 API
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-13。
[null,null,["最后更新时间 (UTC):2025-08-13。"],[[["\u003cp\u003eThe Google Play Developer API enables you to manage in-app purchases and subscriptions, as well as automate app publishing and management tasks.\u003c/p\u003e\n"],["\u003cp\u003eIt encompasses the Subscriptions and In-App Purchases API and the Publishing API, providing functionalities similar to the Play Console.\u003c/p\u003e\n"],["\u003cp\u003eYou can use it to manage in-app products, subscriptions, check purchase statuses, modify recurring purchases, upload new app versions, release apps to various tracks, and create or modify Play Store listings.\u003c/p\u003e\n"],["\u003cp\u003eGoogle offers comprehensive documentation, client libraries, and code samples to assist developers in integrating and utilizing the API's features.\u003c/p\u003e\n"],["\u003cp\u003eFurther APIs are available for managing game services, retrieving quality reports, replying to reviews, automating permissions, controlling Play Games Services metadata, and tracking voided purchases.\u003c/p\u003e\n"]]],["The Google Play Developer API manages app publishing and in-app purchases. It features two main components: Subscriptions and In-App Purchases API, enabling management of product catalogs, purchase status, and recurring purchases; and the Publishing API, automating app uploads, releases via tracks (alpha, beta, production), and Play Store listing modifications. Changes through edits are bundled and committed at once. Java and Python client libraries, or direct REST API access, are available for integration.\n"],null,["# Google Play Developer APIs\n==========================\n\nThe Google Play Developer API allows you to perform a number of publishing and app-management tasks. It\nincludes two components:\n\n- The [Subscriptions and In-App Purchases API](#subscriptions) lets you manage in-app purchases and subscriptions.\n- The [Publishing API](#publishing) lets you upload and publish apps, and perform other publishing-related tasks.\n\nSubscriptions and In-App Purchases\n----------------------------------\n\nYou can use the Google Play Developer API to manage:\n\n- Catalog management\n - [One Time Products](/android-publisher/api-ref/rest/v3/monetization.onetimeproducts)\n - [In-App Products](/android-publisher/api-ref/rest/v3/inappproducts)\n - [Subscription Products](/android-publisher/api-ref/rest/v3/monetization.subscriptions)\n- [Products purchase\n status](/android-publisher/api-ref/rest/v3/purchases.products)\n- [Subscriptions\n purchase management](/android-publisher/api-ref/rest/v3/purchases.subscriptions)\n\nYou can use these resources to check the status of purchases, and to\nmodify and cancel recurring purchases.\n\nTo learn more about how to sell subscriptions in an Android app, read\n[Google\nPlay In-app Billing](https://developer.android.com/google/play/billing/index.html) on the Android Developers site.\n\nPublishing API\n--------------\n\nThe Google Play Developer Publishing API allows you to automate frequent tasks having to do\nwith app production and distribution. This provides functions similar to\nthose available to a developer through the\n[Play Console](https://play.google.com/console),\nsuch as:\n\n- Uploading new versions of an app\n- Releasing apps, by assigning APKs to various [Tracks](/android-publisher/tracks) (alpha, beta, staged rollout, or production)\n- Creating and modifying Google Play Store listings, including localized text and graphics and multi-device screenshots\n\nThose tasks are performed using the new [edits](/android-publisher/edits)\nfunctionality, which take a transactional approach to making changes;\nyou bundle several changes into a single draft **edit**,\nthen commit the changes all at once. (None of the changes take effect\nuntil the edit is committed.)\n\nGetting Started\n---------------\n\nTo start using the Google Play Developer API, have a look at the\n[Getting Started](/android-publisher/getting_started) page.\n\nThere are Java and Python libraries you can use to manage interaction with the\nPublishing API. We have provided code samples on the\n[Client Libraries and Code Samples](/android-publisher/libraries) page. If you are using\nother languages, you can access the REST APIs directly via HTTP.\n\nIf you're having issues using the Google Play Developer API,\n[we're\nhere to help](https://support.google.com/googleplay/android-developer/answer/7218994).\n\nOther APIs\n----------\n\n- The [Google Play Games Services Publishing API](https://developer.android.com/games/pgs/publishing/publishing) allows you to automate frequent tasks having to do with game services production and distribution.\n- The [Reporting API](https://developer.android.com/google/play/developer-api#reporting) lets you retrieve information about your app's quality from Android vitals.\n- The [Reply to Reviews API](https://developer.android.com/google/play/developer-api#reviews) lets you retrieve and reply to reviews of your app.\n- The [Permissions API](https://developer.android.com/google/play/developer-api#permissions) lets you automate permission management within the Play Console.\n- The [Play Games Services Management API](https://developer.android.com/games/pgs/management/management) lets you issue REST calls to programmatically control the metadata underlying the Google Play Games Services features.\n- The [Voided Purchases API](https://developer.android.com/google/play/developer-api#voided-purchases) provides a list of orders that are associated with purchases that a user has voided."]]