. Use it to programmatically manage Zotero libraries: read items and collections, create and update references, upload attachments, manage tags, and export citations.
Authentication Setup
Required credentials
— get from
https://www.zotero.org/settings/keys
:
User ID
shown as "Your userID for use in API calls"
API Key
create at
https://www.zotero.org/settings/keys/new
Library ID
for group libraries, the integer after
/groups/
in the group URL
Store credentials in environment variables or a
.env
file:
ZOTERO_LIBRARY_ID=your_user_id
ZOTERO_API_KEY=your_api_key
ZOTERO_LIBRARY_TYPE=user # or "group"
See
references/authentication.md
for full setup details.
Show more