如何使用Google Book API从ISBN获取书籍封面? [英] How to get book cover from ISBN using Google Book API?
本文介绍了如何使用Google Book API从ISBN获取书籍封面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种简单的方法可以使用Google Book API从ISBN获取JSON格式的图书封面?
Is there a simple way to get book cover in JSON format from ISBN using Google Book API?
推荐答案
您可以使用isbn:
查询,如下所示:
You can use the isbn:
query, like this:
https://www.googleapis.com/books/v1/volumes?q=isbn:0771595158
如果未找到ISBN,这将返回一个正确的JSON响应,其中包含书籍信息或错误说明.
This will return a proper JSON response containing either the book information or an error description if the ISBN is not found.
这篇关于如何使用Google Book API从ISBN获取书籍封面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文