google-books

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

岁酱吖の 提交于 2019-12-20 02:57:11
问题 >>> 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

Ajax with JQuery: 200 ok, but not “success”

。_饼干妹妹 提交于 2019-12-18 05:36:12
问题 I'm trying to use AJAX to send a query to Google Books and display the results on my website. I'm using JQuery to send the request and handling the response, like so: var query = [formatted input from a form]; var URL = "http://books.google.com/books/feeds/volumes?q="+query+"&start-index=1&max-results=5"; $.ajax({ type: "GET", url: URL, dataType: "xml", success: function(data, status){ alert(status); } }); Currently, I just have the script alerting "success" if a response is received. If I

Google access_token is undefined

会有一股神秘感。 提交于 2019-12-13 00:52:06
问题 I am developing a mobile web application which will access the Google Books API and allow the user to add books to their "favorites" book shelf. Its my first time using an API that requires the Google authorization. I need to send an authorized request to modify private user data. I (think) I have have the proper access_token but I can't figure out how to get to it. I am using the Google sign in button like so: ` <div class="g-signin2" data-onsuccess="onSignIn"></div> ` I also have this to

How to pass Retrofit response to RecyclerViewAdapter in Android Google Books API

前提是你 提交于 2019-12-11 17:34:03
问题 I've been using Retrofit2.0 (just learned how to use it) to retrieve Google Books API info, I have finally succeeded. But now I don't know know how to pass it to RecyclerView since now my models have gotten revised and now deal with nested models (I think that is the correct term) compared to what I had before to (old Stack Overflow question here). Currently, I'm getting this error: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.android_myneighborsbookshelf, PID: 8806 java.lang

Google books api always returns nothing

我只是一个虾纸丫 提交于 2019-12-11 16:48:34
问题 I am trying to use Google books API but for any request I receive totalItems = 0 . I've tried to send the request in chrome, for example: https://www.googleapis.com/books/v1/volumes?q=flowers+inauthor:keyes&key=MY_KEY Also I've tried the approach, described here: https://github.com/google/google-api-java-client-samples/blob/master/books-cmdline-sample/src/main/java/com/google/api/services/samples/books/cmdline/BooksSample.java And for any query with any parameters I always receive nothing: {

Embedded Viewer API for custom documents

て烟熏妆下的殇ゞ 提交于 2019-12-11 06:14:12
问题 I would like to build a web page that list documents that are searchable & scrollable pagewise, this is very similar the the Google Books and within that space, similar to the Embedded Viewer API. I understand the the API works only from the content from Google books, is there an equivalent API that can do the very same thing on the files supplied by the user or application that is not necessarily in the google books. I also looked at google doc viewer API, features wise it appears basic

Google Books API 403 Access Not Configured

不羁的心 提交于 2019-12-11 04:03:42
问题 I'm trying to contact the Google Books API and perform a title search, which only requires a public API key and no OAUTH2. All I get is the following error: { "error": { "errors": [ { "domain": "usageLimits", "reason": "accessNotConfigured", "message": "Access Not Configured" } ], "code": 403, "message": "Access Not Configured" } } After having googled around for hours, it seems many others have the same problem but with other Google APIs. What I've done so far: Registered a project in my

Results of recommendations using Google Books API are irrelevant

旧巷老猫 提交于 2019-12-06 18:24:56
问题 I am trying to build book title recommendation system using Google Books API. Unfortunately results I get are extremely irrelevant comparing to https://books.google.com . For example that's a list I get from search by word "sher"(looking forward to something like Sherlock Holmes primarily). `She Said Yes;The Oh She Glows Cookbook;What Can She Know?;She-Wolf;Murder She Wrote;My Mother She Killed Me, My Father He Ate Me;22 Things a Woman Must Know If She Loves a Man with Asperger's Syndrome

Automatically retrieve google books Bibtex citation matching ISBN

China☆狼群 提交于 2019-12-04 14:22:51
问题 I would like to retrieve automatically, and reliably, the bibtex file which I can manually download at google books, for a book identified by its ISBN. The purpose is to create a citation database for a list of books given by their ISBN. I am working on linux operating systems and I am especially open to any solution using scripting languages such as java, perl python or shell scripts. Primarily I am interested to know if there are existing solutions or almost solutions for this problem which

Automatically retrieve google books Bibtex citation matching ISBN

可紊 提交于 2019-12-03 09:00:15
I would like to retrieve automatically, and reliably, the bibtex file which I can manually download at google books, for a book identified by its ISBN. The purpose is to create a citation database for a list of books given by their ISBN. I am working on linux operating systems and I am especially open to any solution using scripting languages such as java, perl python or shell scripts. Primarily I am interested to know if there are existing solutions or almost solutions for this problem which I could adapt easily. A related question can be found here: Automating book citation search but it is