obsidian-media-db-plugin
obsidian-media-db-plugin copied to clipboard
supporting book editions in openlibrary.org
When I fetch book data from openlibrary.org I usually prefer to download the latest edition of a given book. Could this plugin support fetching data from a specific edition?
It looks like the books in openlibrary.org are identified by 2 identifiers:
- workID
- bookID (pointing to a particular edition)
The existing command "Create Media DB entry by id" already supports the works ID e.g. /works/workID. Can it support /books/bookID as well?
Here's an example: https://openlibrary.org/works/OL74034W/The_way_things_work (default page) Work ID: OL74034W API: https://openlibrary.org/works/OL45804W.json
https://openlibrary.org/books/OL51160315M/The_way_things_work_Newley_Revised_Edition (latest edition of the book) Work ID: OL74034W Open Library: OL51160315M API: https://openlibrary.org/books/OL51160315M.json
The book's content is most likely updated and the slightly updated cover helps to recognize that. If I'm planning to buy a book, having a reference to the latest edition helps me make sure I will buy the most updated version.
When using a particular bookID, to get the full information about the book, a call to both APIs would have to be used so that data from both webservices is merged.