Accessing Zotero data from biber
I'm thinking about an input datasource plugin for biber which would allow direct extraction from Zotero but I have a few questions:
1. I know that there is an ItemID in the database but this doesn't appear to be visible to users even though the REST needs it to retrieve items. biber/biblatex requires citation by a key so it's not clear how to get round this if users can't see the itemID for their items in the UI.
2. What is the likely use case? Extraction from local database or the remote Zotero synced copy. The former would use SQLlite access and the latter probably REST.
1. I know that there is an ItemID in the database but this doesn't appear to be visible to users even though the REST needs it to retrieve items. biber/biblatex requires citation by a key so it's not clear how to get round this if users can't see the itemID for their items in the UI.
2. What is the likely use case? Extraction from local database or the remote Zotero synced copy. The former would use SQLlite access and the latter probably REST.
ItemIDs will work, but they're really not very pleasant-- hexadecimal strings. They can be easily produced by an export translator (i.e., https://github.com/ajlyon/zotero-bits/blob/master/zotselect-link.js), but that's still not very convenient. I think it would be more convenient to build a little command-line tool using Gnotero's Python library for Zotero access -- the tool would take a short string (title, author, year keywords) and return potential results, user picks one, the tool outputs the ItemID. That could easily be tied into Vim or other editors for resolution of, say, \cite{Jones 2001} into \cite{0_FA342A1}.