A simple program that extracts document information from a Zotero library and generates a Kumu import file in JSON format.
Installation:
Clone/copy the github code to a folder
Open a console and navigate to the folder
(Optional) If you use virtual environments, create one and activate it.
Run: pip (or pip3) install -r requirements.txt
Create file called .env with information from your Zotero account:
LIBRARY_TYPE=group (for accessing a group library)
or LIBRARY_TYPE=user (for accessing a user library)
LIBRARY_ID: Your personal library ID is available here, in the section "Your userID for use in API calls"
For group libraries, the ID can be found by opening the group’s page: https://www.zotero.org/groups/groupname, and hovering over the group settings link. The ID is the integer after /groups/
ZOTERO_API_KEY=create your api key here
Save the .env file
Here's my .env file (for reference)
Run: python app.py (or python3 app.py)