您目前查看的是 Google Photos Library API 的舊版說明文件。
用戶端程式庫
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
用戶端程式庫提供 Google Photos Library API 功能的概略檢視畫面和基本構成元素,有助於快速開發應用程式。
每個用戶端程式庫都隨附安裝操作說明和程式碼範例,您可以在 GitHub 上取得相關內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[[["\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) |"]]