def get_all_items_with_tag(zot, tag=None):
if filter:
print("--filter has no effect for this action.")
items = zot.everything(zot.items(tag=tag))
for item in items:
print(json.dumps(item, indent=jsonIndent))
def get_attachment_or_note(zot):
if filter:
print("--filter has no effect for this action.")
items = zot.everything(zot.items(itemType=["-attachment","-note"]))
print(json.dumps(items, indent=jsonIndent))
Note - this doesn't seem to work!
https://github.com/urschrei/pyzotero/issues/93