Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Google Play Developer API
Google Play Developer API memungkinkan Anda melakukan sejumlah tugas publikasi dan pengelolaan aplikasi. API ini
mencakup dua komponen:
Langganan dan Pembelian dalam Aplikasi
Anda dapat menggunakan Google Play Developer API untuk mengelola:
Anda dapat menggunakan resource ini untuk memeriksa status pembelian, serta
mengubah dan membatalkan pembelian berulang.
Untuk mempelajari cara menjual langganan di aplikasi Android lebih lanjut, baca Penagihan via Google Play di situs Android Developers.
Publishing API
Google Play Developer Publishing API memungkinkan Anda mengotomatiskan tugas rutin yang berkaitan
dengan produksi dan distribusi aplikasi. Publishing API menyediakan fungsi yang mirip dengan yang tersedia untuk developer melalui Konsol Play, seperti:
- Mengupload versi baru aplikasi
- Merilis aplikasi, dengan memindahkan APK ke berbagai Jalur (alfa, beta, peluncuran
bertahap, atau produksi)
- Membuat dan mengubah listingan Google Play Store, termasuk grafik dan teks yang dilokalkan
serta screenshot multiperangkat
Tugas tersebut dijalankan menggunakan fungsi edit
baru, yang memakai pendekatan transaksional untuk membuat perubahan;
Anda harus menggabungkan beberapa perubahan menjadi satu edit draf,
lalu meng-commit perubahan secara bersamaan. (Perubahan tidak akan diterapkan hingga hasil edit di-commit.)
Memulai
Untuk mulai menggunakan Google Play Developer API, lihat halaman
Memulai.
Ada library Java dan Python yang dapat Anda gunakan untuk mengelola interaksi dengan
Publishing API. Kami menyediakan contoh kode di halaman Library Klien dan Contoh Kode. Jika menggunakan
bahasa lain, Anda dapat mengakses REST API secara langsung melalui HTTP.
Jika Anda mengalami masalah saat menggunakan Google Play Developer API,
kami
siap membantu.
API Lainnya
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-19 UTC.
[null,null,["Terakhir diperbarui pada 2025-08-19 UTC."],[[["\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."]]