重要提示:我们不再接受 Play EMM API 的新注册。
了解详情。
开始使用 Google Play EMM API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
只有已完成注册流程中的所有步骤并已获得 Google 批准可参与该计划的企业移动管理 (EMM) 解决方案提供商才能使用 Google Play EMM API。
Google Play EMM API 和客户端库简介
Google Play EMM API 是一个 REST API,记录在 Google Play EMM API 参考文档中。Google Play EMM API 可供以下人员使用:
此网站上的许多示例代码均使用 Java 客户端库。如需查看使用其他客户端库(例如 Ruby 和 Python)的示例,请参阅 Google 的 GitHub 代码库分支 (github.com/google/play-work)。
示例代码简介
您可以在常见管理任务指南的“示例”标签页下找到日常管理任务的示例。
您还可以在以下文档中找到示例代码:
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 资源:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):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."]]