Google Books API Support?
WhiteOakBooks BookSite Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


12»»

Google Books API Support? Expand / Collapse
Author
Message
Posted 12/24/2012 2:46:36 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: WOB User
Last Login: 3/6/2014 11:03:52 AM
Posts: 27, Visits: 1,118
Does anyone have Google Books API on their sites? I would like to have a popup window that would offer a preview by just allowing a viewer to click on the button. It would be great to offer that for every book that comes up in a search. Andy, is this possible?
Thanks, Tim
Post #1491
Posted 12/25/2012 5:32:02 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Administrators
Last Login: 6/24/2015 11:16:46 AM
Posts: 630, Visits: 2,623
The book viewer is pretty slick but they have their own 'buy' dropdown which could cost sales. 
Post #1492
Posted 12/25/2012 11:07:37 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: WOB User
Last Login: 3/6/2014 11:03:52 AM
Posts: 27, Visits: 1,118
Andy,
Thanks for your quick reply.
Google Books has a buy option but I have seen examples where it was removed. The code can be customized.
Try this link: http://www.tatteredcover.com/book/9780553212464
It goes to tattered cover books and produces a search for Thoreau's Walden.
If you click on the Google button. a nice pop-up shows minus the Buy This Book information.
Hope this helps.
Tim
Post #1493
Posted 12/26/2012 1:50:18 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Administrators
Last Login: 6/24/2015 11:16:46 AM
Posts: 630, Visits: 2,623
I'll take a closer look when I return from my trip.

It's possible that options like that are only available on a paid version of the API. 

Post #1494
Posted 12/26/2012 5:51:07 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: WOB User
Last Login: 3/20/2014 9:34:00 AM
Posts: 27, Visits: 317
Tim,

I played with their api a little when I had a site on 3D-Cart's platform for awhile last year. It's not too difficult to set up and you could probably incorporate it into your WOB site. I found that it was a little tedious to create and enter the code for each book, particularly if it was a used book and you only had one copy. If it was built into the WOB platform somehow, like Amz is, then of course it would be much easier. I've never seen an ecommerce platform with it built in, however, so it may not even be possible. I guess Andy will have to look at that.

At the time I was trying it, Google ebooks was a member of the Google Affiliate Network, and I believe you could use your affiliate id for a percentage of any sales of ebooks generated through your site. Earlier this year, they took it off the program, however, and only selected bookstores can get affiliate status now. Even the Tattered Cover here in Denver is no longer promoting Google ebooks on their site, but Kobo (as are most of the Indie bookstores now). As your link above indicates, though, they are still using the Google api for excerpts.

I've also tried the Goodreads api, and it does work on WOB. You can just enter the code in the "Description" (Synopsis) field on AOB, and it will show up on your site. It's mainly for reviews, however, and again is a lot of work for only one book. If you're selling new books and buying multiple copies, it's more worthwhile, so I haven't really been using it much lately. Here's an example of how it looks for a book on my site.

I think it's important to explore all our option for developing our sites in any way we can, so thanks for reminding me about the Google api, Tim. I'll give it another look as well.

By the way, I think your site is looking great Tim, much better than when you were using Chrislands. It's always nice to see what some people who are willing to put the effort into it can do.

Best of luck,
Steve



smartinbooks.com
mysticfrogbooks.com
Post #1495
Posted 12/26/2012 10:27:29 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: WOB User
Last Login: 3/20/2014 9:34:00 AM
Posts: 27, Visits: 317
Ok,

I've been playing with the Google Books api and it's a lot easier now than when I used it last year. Here's a link to a book I just added with the api button on my site: Book with google button.
The Google Preview button is at the end of the description. You can put it just below the description by using a line break tag in front of the code on AOB.
I added the code in AOB on the "List Single Items" page in the "Description" (synopsis) field near the bottom (be sure you have this box checked on WOB admin under Inventory>Inventory Venue Specific Setting>Append description, at the very bottom).

To get the code, got to the Preview Wizard here: https://developers.google.com/books/docs/preview-wizard.

For the button like on my link, check the 2nd radio button (for floating book viewer). Then click "Generate Code," highlight the code text and copy, then paste in AOB. Seems to work well. The only problem I noticed is that some of the books I tried at first were not in Google books, in which case the button won't appear on your site, so you might want to check Google books first to see if they show a "Preview this book" link under the description. If they don't, then you're wasting your time adding the code to your site.

You can just keep the same code and change the isbn area within it rather than going back to the Wizard page each time.

If anyone else tries this, let us all know how it works.

Hope this helps.

Steve


smartinbooks.com
mysticfrogbooks.com
Post #1496
Posted 12/27/2012 12:37:31 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Administrators
Last Login: 6/24/2015 11:16:46 AM
Posts: 630, Visits: 2,623
Before everyone goes and adds it to AOB let me look at adding that automatically.  I'm flying home tomorrow... I get in late so I won't be able to look at it right away.

Do you know if that verison of the button only displays if they have that ISBN in their database?  If so it should be trival to add.

Post #1497
Posted 12/27/2012 12:40:28 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Administrators
Last Login: 6/24/2015 11:16:46 AM
Posts: 630, Visits: 2,623
I have a note to myself to look at goodreads.  Amazon reviews are pretty much worthless on the websites now.  It looks fairly easy to add.
Post #1498
Posted 12/27/2012 6:38:10 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: WOB User
Last Login: 3/20/2014 9:34:00 AM
Posts: 27, Visits: 317
Andy,

The quote from Google's developers site says: "If no preview can be found for the specified book(s), the preview or button will be automatically disabled and nothing will appear."

I know this is correct, because the first book I tried it on didn't have a preview in Google Books database (and I didn't know enough to check first), so I thought it wasn't working when it was actually doing what it was supposed to. Amazingly simple and a very small snippet of code, compared to what they used to use which required two pieces of code, including one to be placed in the header. They've come a long way.

Steve


smartinbooks.com
mysticfrogbooks.com
Post #1499
Posted 12/27/2012 10:26:35 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: WOB User
Last Login: 3/6/2014 11:03:52 AM
Posts: 27, Visits: 1,118
It looks like WOB is getting some nice upgrades!
Thanks Andy and Steve!
I am looking forward to seeing the Google Book Viewer option.
Goodreads offers many API's including reviews. I Googled Goodread API and came up with some interesting finds. One person offered a tutorial at: http://www.codeproject.com/Articles/472061/Goodreads-API-Tutorial.
Another offered advice and complaints at: http://jonathankressaty.com/2011/05/26/want-a-great-api-dont-use-goodreads/
but then he used Goodread api's to create this: http://gimme.scottsdalelibrary.org/
Note how he pulled a cover image and book information. The Goodread API is limited to one call per second so it would not be good for pulling multiple cover images. Could work nice just on a detail page though.

Thanks again Andy and Steve.
Andy - could you set my account so it will accept the Description filed from AoB?
I will wait for you to incorporate Google Books but I would like to have the ability to experiment with the description field.
Thanks,
Tim
Post #1500
« Prev Topic | Next Topic »

12»»

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: AndyLL, WOTAdmin

Permissions Expand / Collapse

All times are GMT -6:00, Time now is 3:57pm

Powered By InstantForum.NET v4.1.4 © 2018
Execution: 0.125. 12 queries. Compression Disabled.