How to get the citation key of the selected items in batch using python api?

edited December 9, 2023
Is it possible to retrieve the citation keys for the selected item in batches using the python API (pyzotero)?
  • Better to post API questions to zotero-dev. We try to keep technical discussions there.

    But Zotero doesn't have a Citation Key field yet (other than one in the new Preprint item type) — that's something from the Better BibTeX plugin. I assume those keys are stored somewhere (Extra?), in which case you can extract it from there as you would for any other field. We can't help with pyzotero though.
  • Doesn't API BibTeX actually use pinned BBT citekeys? I think we coded the export translator so that it would
  • The translator picks up the key from the extra field,yes. BBT doesn't store them there by default but can be configured to do so automatically.
Sign In or Register to comment.