Goodreads Developers discussion

79 views
examples / showcase > if isbn exists?

Comments Showing 1-5 of 5 (5 new)    post a comment »
dateDown arrow    newest »

message 1: by Mike (new)

Mike (msoriano) | 3 comments hi,
Im using the book review widget to display book reviews in my online store. I'm using the sample here
http://www.goodreads.com/api/reviews_...
But i use a variable for the ISBN number.
Everything works fine except if the ISBN doesnt exist at Goodreads database. It leaves a blank space.

What i want is fairly simple but im not a programmer. I need something like

IF ISBN exists
then show the widget
else
do nothing

any help is appreciated :)


message 2: by Michael (new)

Michael Economy (michaeleconomy) Unfortunately you'll need to do a bit of programming to get around this.

You can use the http://www.goodreads.com/api#book.rev... api call and cache whether or not we have reviews. Do it in bulk for many ISBNs at once.

Other people using this widget are living with the extra space, or are using the above method.


message 3: by Mike (new)

Mike (msoriano) | 3 comments Thank you Michael. If you happen to know any sample code , appreciate if you can point me to one.


message 4: by Michael (new)

Michael Economy (michaeleconomy) What programming language/platform are you developing for?


message 5: by Mike (new)

Mike (msoriano) | 3 comments Michael, I'm using PHP/Smarty


back to top