Search by ISBN on API
macecchi opened this issue · 1 comments
As a user with the mobile Kamu app
When I scan a book's barcode ISBN
I want to see the details of that book
So I can borrow or return it using my phone
Acceptance Criteria
Given I'm using the library's books API (/library/bh/books
)
When I provide an ISBN on the query parameters
Then I would like to see the books from that library related to that ISBN
Is your feature request related to a problem? Please describe.
Currently there isn't a way to search books by their ISBN, only their title and author, which is not enough for enabling a mobile app that scans books barcodes.
Describe the solution you'd like
The ideia is to provide an additional parameter on the library books/search API for the ISBN. An exact match by ISBN should return that book. If we cannot find an exact match, we could expand the ISBN details (author, title) and find a book that matches those parameters (because we don't currently have all books' ISBNs on database).
This has already been implemented, so I’ll close this issue.
The fuzzy isbn search was discarded for now.