重要資訊:我們目前不接受新的 Play EMM API 註冊。
瞭解詳情。
開始使用 Google Play EMM API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Google Play EMM API 僅適用於已完成註冊程序中所有步驟,且獲得 Google 核准參與本計畫的企業行動管理服務 (EMM) 解決方案供應商。
關於 Google Play EMM API 和用戶端程式庫
Google Play EMM API 是 REST API,詳情請參閱 Google Play EMM API 參考資料。以下商家可以使用 Google Play EMM API:
這個網站的許多程式碼範例都使用 Java 用戶端程式庫。您可以在 Google GitHub 存放區 (github.com/google/play-work) 中找到使用其他用戶端程式庫 (例如 Ruby 和 Python) 的範例。
關於程式碼範例
您可以在「範例」分頁的「常見管理工作」指南中找到例行管理工作的範例。
您也可以在下列文件中找到程式碼範例:
EMM 開發人員初步設定
您必須擁有 Google 帳戶。也需要使用 Google API 控制台或 Google Cloud 控制台。假設您已獲得核准並授予 Google Play EMM API 存取權,以下簡要說明如何開始使用:
- 登入您的 Google API 控制台。
- 建立專案。這項專案會包含 EMM 控制台要使用的服務帳戶和憑證。
- 為專案啟用 Google Play EMM API 程式庫。
- 為專案建立主要服務帳戶。
如需完整詳細資料,請參閱註冊 EMM 社群。
瞭解 Google 的 EMM 開發人員資源
除了 Google Play EMM API 參考說明文件和指南,以下是一些 EMM 開發人員適用的 Google 資源:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eThe Google Play EMM API is exclusively for EMM solution providers approved by Google.\u003c/p\u003e\n"],["\u003cp\u003eThis REST API offers management capabilities through HTTP requests or client libraries (Java, Python, .NET, Ruby).\u003c/p\u003e\n"],["\u003cp\u003eSample code and routine management task examples are provided for developers.\u003c/p\u003e\n"],["\u003cp\u003ePreliminary setup involves using a Google Account, enabling the Google Play EMM API library, and creating a service account.\u003c/p\u003e\n"],["\u003cp\u003eGoogle offers resources like the EMM API reference, developer overview, registration details, and terminology definitions.\u003c/p\u003e\n"]]],[],null,["# Get started with the Google Play EMM API\n\nThe Google Play EMM API is available only to enterprise mobility management\n(EMM) solution providers who have completed all steps in the [registration\nprocess](/android/work/play/emm-api/register) and have been approved by Google\nto participate in the program.\n\nAbout Google Play EMM APIs and client libraries\n-----------------------------------------------\n\nThe Google Play EMM API is a REST API that's documented in the\n[Google Play EMM API reference](/android/work/play/emm-api/v1).\nThe Google Play EMM API can be used by:\n\n- Sending HTTP requests and parsing the responses.\n- Using one of the available client libraries. Google Play EMM API client libraries are available for [Java](https://developers.google.com/api-client-library/java/apis/androidenterprise/v1), [Python](https://developers.google.com/api-client-library/python/apis/androidenterprise/v1), [.NET](https://developers.google.com/api-client-library/dotnet/apis/androidenterprise/v1), and [Ruby](https://developers.google.com/api-client-library/ruby/apis/androidenterprise/v1).\n\n \u003cbr /\u003e\n\n Each download package includes a readme file (for example,\n androidenterprise/readme.html) with information about dependencies, paths,\n and other details.\n\n\u003cbr /\u003e\n\nMuch of the sample code on this site uses the\n[Java client library](https://developers.google.com/api-client-library/java/apis/androidenterprise/v1).\nSamples using other client libraries, such as Ruby and Python, can be found\nin Google's branch of the GitHub repository\n([github.com/google/play-work](https://github.com/google/play-work)).\n\nAbout sample code\n-----------------\n\nYou'll find examples of routine management tasks under the Samples tab, in\nthe [Common management tasks](/android/work/play/emm-api/samples) guide.\n\nYou'll also find sample code in these documents:\n\n- [Create custom store layouts](/android/work/play/emm-api/store-layout)\n- [Managed configurations through Play](/android/work/play/emm-api/managed-configurations)\n- [Send batch requests](/android/work/play/emm-api/v1/how-tos/batch)\n\nPreliminary setup for EMM developers\n------------------------------------\n\nYou need a Google Account. You also need to use the Google API Console or\nGoogle Cloud console. Assuming you've been approved and granted access to\nthe Google Play EMM APIs, here's a quick summary of how to get started:\n\n1. Sign in to your [Google API Console](https://console.cloud.google.com/).\n2. Create a project. This project will contain the service accounts and credentials to be used by your EMM console.\n3. Enable the Google Play EMM API library for your project.\n4. Create a primary service account for the project.\n\n\u003cbr /\u003e\n\nSee [Register for the EMM community](/android/work/play/emm-api/register) for\ncomplete details.\n\nLearn about Google's EMM developer resources\n--------------------------------------------\n\nIn addition to\n[Google Play EMM API reference documentation](/android/work/play/emm-api/v1)\nand guides, here are some Google resources for EMM developers:\n\n- The [EMM developer's overview](/android/work/overview) provides big-picture information about Android EMM developers.\n- [Register for the EMM community](/android/work/play/emm-api/register) contains step-by-step details for developers, starting with the registration process (partnering with Google as an EMM to support Android for your customers) through to distributing apps in customer environments.\n- [Android enterprise terminology](/android/work/terminology) defines terms used in this documentation."]]