find necessary APIs to build iOS workflow for searching my library?
CharlasHacking LibraryThing
Únete a LibraryThing para publicar.
Este tema está marcado actualmente como "inactivo"—el último mensaje es de hace más de 90 días. Puedes reactivarlo escribiendo una respuesta.
1maspotts
(Relocating from https://www.librarything.com/topic/287057):
I'm trying to figure out if I can make this use case work, given the available APIs: I want to create a workflow (using the iOS workflow.io app) that I can use to quickly check whether I have a given *work* in my library. It will snapshot a barcode and extract the ISBN (that functionality is already built into the workflow app), then query LT to map the ISBN to a Work (looks like I could use "What Work?" for that) and then finally search my library to see if I have any editions of that Work already. I don't see how to do that last step yet: the books api doesn't seem to take a Work id as input, and I'd rather not have to download my entire library and filter in place each time (if I can avoid it)!
However, so far I've fallen at the first hurdle: the "What Work?" API is disabled (per Tim) due to abuse.
Am I missing any obvious solutions, by any chance?
PS: This workflow is intended for my own personal use btw, although I'd be happy to share it.
PPS: I know I can already do this using the LT app, but that involves a lot of tapping and typing, whereas I'm trying to achieve a hands-free point-and-shoot based on the barcode (with optional typing of ISB/title/author if there's no barcode).
PPPS: Actually the best solution (in the context of the iOS workflow.io app) would be if this functionality was available via the LT app itself :) Or, failing that, if the LT app made a "search my library" API available to the workflow.io app (many iOS apps do expose APIs which the workflow.io app can take advantage of).
I'm trying to figure out if I can make this use case work, given the available APIs: I want to create a workflow (using the iOS workflow.io app) that I can use to quickly check whether I have a given *work* in my library. It will snapshot a barcode and extract the ISBN (that functionality is already built into the workflow app), then query LT to map the ISBN to a Work (looks like I could use "What Work?" for that) and then finally search my library to see if I have any editions of that Work already. I don't see how to do that last step yet: the books api doesn't seem to take a Work id as input, and I'd rather not have to download my entire library and filter in place each time (if I can avoid it)!
However, so far I've fallen at the first hurdle: the "What Work?" API is disabled (per Tim) due to abuse.
Am I missing any obvious solutions, by any chance?
PS: This workflow is intended for my own personal use btw, although I'd be happy to share it.
PPS: I know I can already do this using the LT app, but that involves a lot of tapping and typing, whereas I'm trying to achieve a hands-free point-and-shoot based on the barcode (with optional typing of ISB/title/author if there's no barcode).
PPPS: Actually the best solution (in the context of the iOS workflow.io app) would be if this functionality was available via the LT app itself :) Or, failing that, if the LT app made a "search my library" API available to the workflow.io app (many iOS apps do expose APIs which the workflow.io app can take advantage of).
2r.orrison
Re your PPPS only: That reminded me of something similar I proposed a while ago, which I have revived in its own thread: https://www.librarything.com/topic/287335