[Koha-bugs] [Bug 7152] Koha should make it easy for librarians to attach covers using Open Library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 5 08:37:10 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7152

Anand <anandology at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anandology at gmail.com

--- Comment #1 from Anand <anandology at gmail.com> 2011-11-05 07:37:10 UTC ---
Added search API to Open Library. This can be used to find OLID from book
metadata. The format of both request and response is JSON.

POST http://openlibrary.org/api/ils_search

Required Headers:
    Content-type: application/json
    Authorization: Basic base64-of-username:password (optional)

Payload:

    {
        "title": "book title",
        "authors": ["author 1", "author 2"],
        "publisher": "Name of the publisher",
        "publish_date": "June 2011",
        "isbns": ["1234567890", "234567890X"]
    }

Response Format:

    {
        "status": "found", 
        "olid": "OL24605334M",
        "key": "/books/OL24605334M", 
        "cover": {
            "small": "http://covers.openlibrary.org/b/id/6685633-S.jpg", 
            "large": "http://covers.openlibrary.org/b/id/6685633-L.jpg", 
            "medium": "http://covers.openlibrary.org/b/id/6685633-M.jpg"
        }
    }

Status can be one of found, created or notfound. The cover property will be
available only if the book has a cover.

Currently the OL API tries to match only the ISBNs and doesn't create a new
record if no match is found. This will be improved shortly.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list