[Bug 39865] New: Consider updating OpenLibrary covers search API
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39865 Bug ID: 39865 Summary: Consider updating OpenLibrary covers search API Change sponsored?: --- Product: Koha Version: 24.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: oliver.behnke@aei.mpg.de QA Contact: testopia@bugs.koha-community.org Koha currently uses OpenLibrary's "Legacy Book API" [1] to fetch book covers which "is a legacy endpoint and may be phased out in the future". Also, it's inefficient. The replacement seems to be the dedicated "Covers API" [2]. One drawback, though, it's currently rate limited to 100 requests per IP per five minutes. That might quickly be exhausted on the OPAC search result page. Thanks [1] https://openlibrary.org/dev/docs/api/books [2] https://openlibrary.org/dev/docs/api/covers -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39865 Frédéric Demians <f.demians@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion CC| |f.demians@tamil.fr --- Comment #1 from Frédéric Demians <f.demians@tamil.fr> --- True problem. It's arleady broken. Koha call this for example: https://openlibrary.org/api/books?bibkeys=9780821417492,9791168123014 Which returns nothing. A quick temporary fix: https://openlibrary.org/api/books.json?bibkeys=9780821417492,9791168123014 In the long run, openlibrary.js in Koha must be rewritten, using modern Open Library API. The "covers" API is unusable, due to its limitation to it limitation to 100 requests per IP per five minutes. The search API is the solution: https://openlibrary.org/dev/docs/api/search -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org