I'm using pyzotero.
Some functions I built:
Dump all your collections (folders) recursively
def dumpAllCollections(zot):
Find a collection reference by name
def findCollectionByName(zot, name):
Dump all items within a collection
def dumpItemsOfCollection(zot, col):
Update the publication
and year
fields of all items within a collection.
You can probably derive more useful functions from it.
def updateItemsOfCollection(zot, col, publication, year):