Goodreads Developers discussion

670 views
bugs > goodreads api issue

Comments Showing 1-14 of 14 (14 new)    post a comment »
dateUp arrow    newest »

message 1: by Ravi (new)

Ravi Yadav | 3 comments I am using goodreads api in our website to get the review count and details based on Book isbn.
I have tried it but not able to get the result and getting security error. Following thing i have tried:


error[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
https://ajax.googleapis.com/ajax/libs... :: .send :: line 5" data: no]

The restriction that you cannot access data from another server with a XMLHttpRequest can apply even if the url just implies a remote server.




Also i am attached a html file, for your reference which is not working for me. Please help me out.

As per our support team book.show_by_isbn — Get the reviews for a book given an ISBN publically available but not working for me.

Please help me out.


message 2: by Charles (new)

Charles Kim | 28 comments Hi Ravi,

I'm sorry to hear you're having problems. The book.isbn_to_id method appears to be working. Are you including your developer key in order to get the XML? The book response is getting returned correctly when I just tried it.

If you want to get a specific review, you can use the review.show method.

Best,
Charles


message 3: by Ravi (new)

Ravi Yadav | 3 comments We need to review the GoodReads implementation to make sure that it's displaying the correct reviews.
See this example (http://www.dk.com/uk/9780241232491-my...)
for the children's title My Little Pony
but the Reviews tab is pulling reviews from a completely different title instead - see one review:
https://www.goodreads.com/review/show...
The title it's showing reviews from is this one: https://www.goodreads.com/book/show/5...
but the ISBN isn't the same at all so it's not clear why this is happening


message 4: by Feiyu (new)

Feiyu Yin (sanchishui) | 11 comments Hi Ravi,

Could you please double check that you are using the right API with correct parameters for getting reviews?

Thank you!


message 5: by Malcolm (new)

Malcolm X | 2 comments Hi Feiyu,

Above, you said "The book.isbn_to_id method appears to be working.". However, I am unable to get it to work. The sample URL in the API docs also fails:

https://www.goodreads.com/book/isbn_t... key)

Was a bug introduced in the last month perhaps?

Thanks!


message 6: by Malcolm (new)

Malcolm X | 2 comments FWIW, the goodreads site search doesn't seem to handle ISBNs either, even though it says it does. Test ISBN: 9783593501604.


message 7: by IRDC (new)

IRDC | 1 comments What I noticed is that the search only works for the isbn that is mentioned on the edition's page. If only a isbn 13 is mentioned there the search using the isbn 10 will not yield any results.
I tried "isbn 10 OR isbn 13" but the OR operator doesn't seem to work with isbns.


message 8: by SW (last edited Jul 23, 2016 12:56PM) (new)

SW Yeung | 1 comments I also can't get this to work. The example url also failed for me.

Are there any workarounds? Thanks!

EDIT: never mind. I will use search to do this.


message 9: by Alvaro (new)

Alvaro Marquina (sunno) | 2 comments I'm having trouble with this method, I get a 404 error by using example in docs page, is that example ok?


message 10: by Mike (new)

Mike (mikeyin) | 1 comments Different but related. I'm calling the book.show API using this format:
https://www.goodreads.com/book/show/3...

But I keep getting invalid API key errors. I reset my developer key and still getting the same error.

Appreciate your help, thanks!


message 11: by Charles (new)

Charles Kim | 28 comments @Ravi, apologies for the very late reply. If you use the isbn_to_id method like this: https://www.goodreads.com/book/isbn_t...

then that will return the book ID. Then you can use the book/show endpoint to get the book information:

https://www.goodreads.com/book/show/2...

Best regards,
Charles


message 12: by Powder (new)

Powder | 4 comments Hi Charles, seems like the line above is broken:

When running

https://www.goodreads.com/book/isbn_t...

with my own API key, I get an empty response


message 13: by Jeff (new)

Jeff (jeffwong) | 75 comments Mod
@Powder,

Are you running this in your browser? When I run the URL in Chrome, I get an error because the server returns the book ID bare, not in any XML document.

However, when I look in the source of error page, I see the book ID.

This might work in your own code if you just look at the response contents directly.

The documentation says " Response contains IDs without any markup. "


message 14: by Powder (new)

Powder | 4 comments Thanks Jeff, you are right!
I have never worked with an API which did not return something which can be displayed in the browser before…


back to top