google-books

How to get book cover from ISBN using Google Book API?

流过昼夜 提交于 2019-12-03 01:58:31
问题 Is there a simple way to get book cover in JSON format from ISBN using Google Book API? 回答1: You can use the isbn: query, like this: https://www.googleapis.com/books/v1/volumes?q=isbn:0771595158 This will return a proper JSON response containing either the book information or an error description if the ISBN is not found. 回答2: If you are looking for an answer for a Ruby (Rails, Sinatra or Console) answer on how to get a conver image or for that matter any detail available through the Google

SyntaxError using gdata-python-client to access Google Book Search Data API

匆匆过客 提交于 2019-12-02 02:09:42
>>> import gdata.books.service >>> service = gdata.books.service.BookService() >>> results = service.search_by_keyword(isbn='0434003484') Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> results = service.search_by_keyword(isbn='0434003484') ... snip ... File "C:\Python26\lib\site-packages\atom\__init__.py", line 127, in CreateClassFromXMLString tree = ElementTree.fromstring(xml_string) File "<string>", line 85, in XML SyntaxError: syntax error: line 1, column 0 This is a minimal example -- in particular, the book service unit tests included in the package also fail

Google books API searching by ISBN

只愿长相守 提交于 2019-11-29 21:06:37
I am trying to figure out how to search for a book by ISBN using the Google Books API. I need to write a program that searches for an ISBN then prints out the title, author, and edition. I tried using List volumesList = books.volumes.list(""); but that did not allow me to search by ISBN and I did not see a way to get the information I needed(when an ISBN was placed in it had no results) . What I have right now is: JsonFactory jsonFactory = new JacksonFactory(); final Books books = new Books(new NetHttpTransport(), jsonFactory); List volumesList = books.volumes.list("9780262140874");

Using Google Books API in Android

大兔子大兔子 提交于 2019-11-29 15:12:56
问题 Hi I'm new to Android and using web APIs. I'm currently writing an application that can scan a barcode from a book and then search Google Books for it. So far I implemented Scandit into my application and I registered and got the API key from Google API console for Books API. From there I do not know how to continue and start coding it. So far from my understanding it requires me make a request data via uri but I'm stuck on how to actually code it. I'm wondering if anyone could point me to

Google books API searching by ISBN

自作多情 提交于 2019-11-28 16:45:46
问题 I am trying to figure out how to search for a book by ISBN using the Google Books API. I need to write a program that searches for an ISBN then prints out the title, author, and edition. I tried using List volumesList = books.volumes.list(""); but that did not allow me to search by ISBN and I did not see a way to get the information I needed(when an ISBN was placed in it had no results) . What I have right now is: JsonFactory jsonFactory = new JacksonFactory(); final Books books = new Books