by mattowen_uk · 5y ago · 0 comments
1. Scan book ISBN via a standard barcode reader (in keyboard emulation mode) [1]
2. The barcode reader 'types' in the ISBN into the GUI of my homebrew app along with a new-line character.
3. The app takes this ISBN and searches Amazon via it's API, then parses the results. If there's more than 1 result it just picks the first one (which is 99% correct), if it's not correct there's an option to override or enter details manually.
4. The app then queries the amazon API again for the book details, and places them all into a record in a SQL DB.
5. For reasons I can't quite remember the app also goes to the actual product page of the book on Amazon and grabs the high resolution picture of the book cover (which only some times matches the edition of the book we actually own) and stores that locally.
6. There's a web app for searching the DB that we use when we can't remember which books we actually own (first world problems!)
7. Any new book that enters the house is catalogued BEFORE it is even allowed in the Library.
It's a basic set-up, but other than the Amazon API, which is abstracted via my own functions, it's not dependant on any other (closed or FOSS) book management software.
---
[1] A cheap one like this will do it: https://amzn.to/3CyqaAC
I guess the experience might be smoother with a dedicated scanner though.