Thư viện mẫu và mã mẫu
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.
Thư viện ứng dụng cung cấp thông tin tổng quan cấp cao về chức năng của API dành cho nhà phát triển của Google Play, giúp bạn dễ dàng phát triển ứng dụng một cách nhanh chóng.
API Nhà phát triển Google Play được xây dựng trên HTTP và JSON, vì vậy, mọi ngăn xếp web tiêu chuẩn đều có thể gửi yêu cầu đến API này và phân tích cú pháp các phản hồi. Chúng tôi đã cung cấp các thư viện ứng dụng sau đây mà bạn có thể dùng để truy cập vào API, thay vì tạo yêu cầu HTTP và phân tích cú pháp phản hồi theo cách thủ công:
Thư viện ứng dụng API của Google cho các ngôn ngữ khác cũng có sẵn.
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-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eClient libraries simplify Google Play Developer API interaction for faster application development.\u003c/p\u003e\n"],["\u003cp\u003eThe API utilizes HTTP and JSON, enabling any standard web stack to send requests and parse responses.\u003c/p\u003e\n"],["\u003cp\u003eGoogle provides client libraries for Java and Python, eliminating the need for manual HTTP request handling.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries for other languages are also available through Google APIs Client Libraries.\u003c/p\u003e\n"]]],["The Google Play Developer API, built on HTTP and JSON, offers client libraries to simplify application development. These libraries, available for Java and Python, abstract away manual HTTP requests and response parsing. Specifically, the Java library links to `/api-client-library/java/apis/androidpublisher/v3` with code samples at `https://github.com/googlesamples/android-play-publisher-api/tree/master/v3/java`. The Python library is at `/api-client-library/python/apis/androidpublisher/v3`, and its samples at `https://github.com/googlesamples/android-play-publisher-api/tree/master/v3/python`. Client Libraries for other languages are also available.\n"],null,["# Client Libraries and Code Samples\n\nClient libraries provide a high-level view of Google Play Developer API functionality,\nmaking it easier to quickly develop applications.\n\nThe Google Play Developer API is built on HTTP and JSON, so any standard web stack can send\nrequests to it and parse the responses. We have provided the following client\nlibraries that you can use for access to the API, instead of creating HTTP\nrequests and parsing responses manually:\n\n| Language | Client Library | Code Samples |\n|----------|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| Java | [Google APIs Client Library for Java](/api-client-library/java/apis/androidpublisher/v3) | [v3 code samples](https://github.com/googlesamples/android-play-publisher-api/tree/master/v3/java) |\n| Python | [Google APIs Client Library for Python](/api-client-library/python/apis/androidpublisher/v3) | [v3 code samples](https://github.com/googlesamples/android-play-publisher-api/tree/master/v3/python) |\n\n[Google APIs Client Libraries](/discovery/libraries) for other languages are\nalso available.\n| **Note:** Deprecated APIs won't be available in the client libraries. For more information, see [Play API Deprecations](/google/play/billing/play-developer-apis-deprecations)."]]