Goodreads Developers discussion

65 views
questions > book.show_by_isbn

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

message 1: by Andrew (last edited Mar 25, 2016 03:10AM) (new)

Andrew | 2 comments I am building a web application to people that will recommend books based on some information they provide. I am using the book.show_by_isbn method to get some goodreads data to display (cover image and avg user rating) I will link to the goodreads page for the books I show but I would also like to provide a link to purchase the book but I can't figure out how to build a link to purchase from the data I get back, e.g:

<buy_link>
<id>1</id>
<name>Amazon</name>
<link>https://www.goodreads.com/book_link/f...
</buy_link>
<buy_link>

Is what I get in the buy_links section for any book. I am assuming I need to build the purchase URL from this and the goodreads ID for the book but all of the ways I have tried have been wrong.
Can anyone advise on this?


message 2: by Charles (new)

Charles Kim | 28 comments Hi Andrew,

Those buy links are actually for use on the Goodreads website which can parse and redirect the user based on those URL's. They don't work for other apps.

You might be able to create your own buy links using a book's ISBN if the store's API supports that.

Charles


back to top