库和示例
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
借助客户端库,您可以轻松地使用您喜爱的语言使用 Google 图书 API!
Books API 客户端库
我们开发了一个专为 Books API 编写的客户端库。
Google API 客户端库
我们还提供通用 Google API 客户端库,您可以将其与 Books API 搭配使用。
我们提供了多种常用编程语言的 Google API 客户端库,方便用户轻松地使用 Books API。
在下表中,第一列显示了各个库所处的开发阶段(请注意有些库尚处于早期阶段),以及指向相应库文档的链接。第二列显示了指向各个库的可用示例的链接。
我们还提供以下处于早期阶段的库:
精选示例
通常情况下,若要了解如何使用某个 API,最简单的方法就是查看代码示例。上表提供了指向所示每种语言的一些基本示例的链接。本部分重点介绍了一些其他有趣的 Books API 示例。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-20。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-20。"],[[["Client libraries simplify using the Books API with your preferred programming language, including a dedicated library for Java."],["Google offers generic API client libraries for the Books API, available in various languages like Java, JavaScript, .NET, Objective-C, PHP, and Python."],["Early-stage client libraries are also provided for Dart, Go, Node.js, and Ruby, expanding the range of language options."],["Sample code is available for all supported languages, demonstrating practical usage and aiding in understanding API implementation."]]],[]]