Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
API EMM của Google Play chỉ dành cho các nhà cung cấp giải pháp quản lý di động dành cho doanh nghiệp (EMM) đã hoàn thành tất cả các bước trong quy trình đăng ký và đã được Google phê duyệt tham gia chương trình.
Giới thiệu về API EMM của Google Play và thư viện ứng dụng
Sử dụng một trong các thư viện ứng dụng có sẵn. Thư viện ứng dụng API EMM của Google Play có sẵn cho Java, Python, .NET và Ruby.
Mỗi gói tải xuống bao gồm một tệp readme (ví dụ: androidenterprise/readme.html) chứa thông tin về các phần phụ thuộc, đường dẫn và các thông tin chi tiết khác.
Phần lớn mã mẫu trên trang web này sử dụng thư viện ứng dụng Java.
Bạn có thể tìm thấy các mẫu sử dụng thư viện ứng dụng khác, chẳng hạn như Ruby và Python, trong nhánh của kho lưu trữ GitHub của Google (github.com/google/play-work).
Bạn cần có Tài khoản Google. Bạn cũng cần sử dụng Google API Console hoặc Google Cloud Console. Giả sử bạn đã được phê duyệt và cấp quyền truy cập vào các API EMM của Google Play, sau đây là tóm tắt nhanh về cách bắt đầu:
Đăng ký cộng đồng EMM chứa thông tin chi tiết từng bước cho các nhà phát triển, bắt đầu từ quy trình đăng ký (hợp tác với Google làm EMM để hỗ trợ Android cho khách hàng) cho đến hoạt động phân phối ứng dụng trong môi trường dành cho khách hàng.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\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."]]