Lưu ý quan trọng: Chúng tôi không còn chấp nhận các lượt đăng ký mới cho Play EMM API.
Tìm hiểu thêm.
Làm quen với API EMM của Google Play
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
API EMM của Google Play là một API REST được ghi trong Tài liệu tham khảo API EMM của Google Play.
Nhà phát triển có thể sử dụng API EMM của Google Play:
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).
Giới thiệu về mã mẫu
Bạn sẽ tìm thấy ví dụ về các nhiệm vụ quản lý định kỳ trong thẻ Mẫu, trong hướng dẫn Các thao tác quản lý phổ biến.
Bạn cũng sẽ tìm thấy mã mẫu trong các tài liệu sau:
Thiết lập sơ bộ cho nhà phát triển EMM
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 nhập vào Google API Console.
- Tạo dự án. Dự án này sẽ chứa các tài khoản dịch vụ và thông tin xác thực mà bảng điều khiển EMM của bạn sẽ sử dụng.
- Bật thư viện API EMM của Google Play cho dự án của bạn.
- Tạo một tài khoản dịch vụ chính cho dự án.
Xem phần Đăng ký cộng đồng EMM để biết
toàn bộ thông tin chi tiết.
Tìm hiểu về tài nguyên dành cho nhà phát triển EMM của Google
Ngoài tài liệu tham khảo về API EMM của Google Play và hướng dẫn, sau đây là một số tài nguyên của Google dành cho nhà phát triển EMM:
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[null,null,["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."]]