3 ms·
I don't have the code to hand at the moment, but when my partner and I catalogued all our fiction books (over 2,000) I discovered that you can search Amazon via
by mattowen_uk 5y ago
I don't have the code to hand at the moment, but when my partner and I catalogued all our fiction books (over 2,000) I discovered that you can search Amazon via ISBN, so the workflow was:
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 https://amzn.to/3CyqaAC
- thorin 5y agoThat sounds like a good approach. I guess you could just a smartphone app to avoid buying a scanner e.g. https://play.google.com/store/apps/details?id=com.gamma.scan&hl=en_GB&gl=US https://play.google.com/store/apps/details?id=com.gamma.scan... I guess the experience might be smoother with a dedicated scanner though.
- spaztastical 5y agoDo you have a git page on this? This sounds impressive, above what I can do right now.