The Google Play Developer API allows you to perform a number of publishing and app-management tasks. It includes two components:
- The Subscriptions and In-App Purchases API lets you manage in-app purchases and subscriptions.
- The Publishing API lets you upload and publish apps, and perform other publishing-related tasks.
Subscriptions and In-App Purchases
You can use the Google Play Developer API to manage:
- In-App Products (in-app products and subscriptions catalog management)
- Products purchase status
- Subscriptions purchase management
You can use these resources to check the status of purchases, and to modify and cancel recurring purchases.
To learn more about how to sell subscriptions in an Android app, read Google Play In-app Billing on the Android Developers site.
Publishing API
The Google Play Developer Publishing API allows you to automate frequent tasks having to do with app production and distribution. This provides functions similar to those available to a developer through the Play Console, such as:
- Uploading new versions of an app
- Releasing apps, by assigning APKs to various Tracks (alpha, beta, staged rollout, or production)
- Creating and modifying Google Play Store listings, including localized text and graphics and multi-device screenshots
Those tasks are performed using the new edits functionality, which take a transactional approach to making changes; you bundle several changes into a single draft edit, then commit the changes all at once. (None of the changes take effect until the edit is committed.)