Bạn đang xem tài liệu cũ về API Thư viện Google Photos.
Thư viện ứng dụng
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 chế độ xem cấp cao và các thành phần cơ bản của chức năng API Thư viện Google Photos, giúp bạn dễ dàng phát triển ứng dụng một cách nhanh chóng.
Các hướng dẫn cài đặt và ví dụ về mã đi kèm với từng thư viện ứng dụng và có trên GitHub.
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-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[[["\u003cp\u003eClient libraries simplify Google Photos Library API app development by offering high-level views and essential building blocks.\u003c/p\u003e\n"],["\u003cp\u003eEach client library includes installation guides and code examples accessible on GitHub, aiding developers in getting started quickly.\u003c/p\u003e\n"],["\u003cp\u003eLibraries are available for Java and PHP, providing developers with options based on their preferred programming language.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive resources for each library, such as getting started guides, source code, distribution channels, reference documentation, and examples, are readily available.\u003c/p\u003e\n"]]],["Client libraries offer tools for rapid app development using the Google Photos Library API. Installation and code samples are available on GitHub for each library. The Java client library's resources include Gradle, Maven, release artifacts, Javadoc, and GitHub examples. The PHP client library provides PHP composer, release artifacts, PHPDoc, and GitHub examples. Each client has a \"Getting Started\" guide. Both the source code, examples, and distributions are accessible via GitHub.\n"],null,["# Client Libraries\n\nClient libraries provide high-level views and basic building blocks of\nGoogle Photos Library API functionality, making it easier to develop apps quickly.\n\nInstallation instructions and code examples are bundled with each client library\nand are available on GitHub.\n\n| Client Library ||\n|------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Java | **Getting Started** with the [Java client library](/photos/library/legacy/guides/get-started-java) **Source** [java-photoslibrary](https://github.com/google/java-photoslibrary) **Distribution** [Gradle](https://github.com/google/java-photoslibrary#option-1-gradle-dependency) , [Maven](https://github.com/google/java-photoslibrary#option-2-maven-dependency) , [release artifacts](https://github.com/google/java-photoslibrary/releases) on GitHub **Reference documentation** [Javadoc](https://google.github.io/java-photoslibrary) **Examples** on [GitHub](https://github.com/google/java-photoslibrary/tree/master/sample) |\n| PHP | **Getting Started** with the [PHP client library](/photos/library/legacy/guides/get-started-php) **Source** [php-photoslibrary](https://github.com/google/php-photoslibrary) **Distribution** [PHP composer](https://github.com/google/php-photoslibrary#downloading-this-library), [release artifacts](https://github.com/google/php-photoslibrary/releases) on GitHub **Reference documentation** [PHPDoc](https://google.github.io/php-photoslibrary/) **Examples** on [GitHub](https://github.com/google/php-photoslibrary/tree/samples) |"]]