Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Interacts with Zotero libraries via the pyzotero Python client to manage items, collections, tags, attachments, and exports.
88% 100%+12 ptsof test cases passed
Passed 25 of 25 test cases with the skill, and 22 of 25 without it.
3 of 3 safety checks passed
Not used yet
# All collections (flat list including nested)
all_cols = zot.collections()
# Only top-level collections
top_cols = zot.collections_top()
# Specific collection
col = zot.collection('COLKEY')
# Sub-collections of a collection
sub_cols = zot.collections_sub('COLKEY')
# All collections under a given collection (recursive)
tree = zot.all_collections('COLKEY')
# Or all collections in the library:
tree = zot.all_collections()
col = zot.collection('5TSDXJG6')
name = col['data']['name']
key = col['data']['key']
parent = col['data']['parentCollection'] # False if top-level, else parent key
version = col['data']['version']
n_items = col['meta']['numItems']
n_sub_collections = col['meta']['numCollections']
# Create a top-level collection
zot.create_collections([{'name': 'My New Collection'}])
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.