View Single Post
Old 02-19-2021, 04:49 AM   #13
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Bradles View Post
Yep, got your gist now.

LT has concepts of "work", which is the generic published work (e.g. Little Women by Louisa May Alcott) and "book", which is the specific instance of the work as it appears in users' catalogs (e.g. Little Women by Louisa May Alcott, ebook, isbn, cover, my review, my rating, etc.)
Goodreads does roughly the same. They call "works" and "edition".
Quote:
I'm using the "JSON Books API" to return the list of users books. LT users are very protective of their book metadata, and I suspect any metadata updates should only come from their book metadata. Unfortunately, this API has no way to return a single book based on any identifier.

The "JSON Works API" returns a work based on an ISBN search, but can only be used once per second and up to 1000 times per day. This would be okay for editing metadata one at a time but not in bulk.
That's not uncommon. What are they counting this agains? An IP address or the user? Or a developers key?
Quote:
For the ID linking, my quick test worked great:

Code:
https://www.librarything.com/work/book/{id}
Yep.
Quote:
Simple as that. Would there be any concerns over updating that identifier outside of a metadata plugin? e.g. (cribbing from your Smashwords plugin):

Code:
mi = Metadata(...)
mi.set_identifier('librarything', librarything_id)
self.lt_id = librarything_id
I can think of a couple of places this is done, including the Goodreads Sync plugin. Basically, as long as you don't break anything, it will be OK.
davidfor is offline