find necessary APIs to build iOS workflow for searching my library?

DiscussãoHacking LibraryThing

Aderi ao LibraryThing para poder publicar.

find necessary APIs to build iOS workflow for searching my library?

Este tópico está presentemente marcado como "adormecido"—a última mensagem tem mais de 90 dias. Pode acordar o tópico publicando uma resposta.

1maspotts
Editado: Fev 21, 2018, 11:16pm

(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).

2r.orrison
Fev 22, 2018, 5:19am

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

3maspotts
Fev 22, 2018, 5:50pm

Thanks: yes, the ios workflow would effectively be a workaround for the lack of barcode scan-originated existence checks in the LT app. However, the ios workflow would be really easy to create if the necessary LT APIs were available/accessible.