Import reference using command line/java
I'm attempting to create a piece of code that takes a bunch of reference (RIS) files, merges them into a single fie (probably using cat in command line), and then imports them into Zotero. Does anyone have any ideas how I might be able to achieve that final part?
What's the user story/use case more specifically?
Zotero doesn't have an import API that's easily accessible from the CLI, but there may be workarounds depending on what you need exactly.
The first thing that comes to mind really is that you could just talk to the Zotero API and rely on sync to get them back to your desktop client.
Sorry I should have made the whole thing a bit clearer. I was working off the assumption that all the files were downloaded so an Automator app was the easiest way I could think of for general use. The Automator app takes the files you drop on it and runs them through a bash script that makes a temporary folder in which it puts all the files and cats them. This is all working fine but until this point I've had to pause the script until user confirmation while I imported the new file manually (forgetting you can just open an RIS and itll import itself. I used to use Endnote and I don't think it did that).