On 27-Sep-2014, at 7:08 am, nilanjan bhattacharya <[email protected]> wrote:

> I am using jayfajardo's openlibrary gem.
> 
> Is there a way to find out if a book can be borrowed, i.e., if there is an 
> ebook available.
> I tried using the preview method, but I don't think that is the same.

Not sure if jayfajardo's open library gem has support for it, but Open Library 
Books API can be used to find if book is borrowable and if it is checked out or 
not.

https://openlibrary.org/dev/docs/api/books

For example:

https://openlibrary.org/api/books?bibkeys=OL24766418M&jscmd=data

Anand
_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
Archives: http://www.mail-archive.com/[email protected]/
To unsubscribe from this mailing list, send email to 
[email protected]

Reply via email to