Zotero.jl
Zotero.jl copied to clipboard
Julia interface to the Zotero API
Zotero
Installation
using Pkg
Pkg.add("Zotero")
You first need to obtain an API token from Zotero.
Go to your Zotero account settings and create a new API token.
You should also get your user ID from the same page.
Store both of these values in a .env
file in the root of your project with
the following format:
ZOTERO_API_TOKEN="[YOUR API TOKEN]"
ZOTERO_USER_ID="[YOUR USER ID]"
Usage
using Zotero
client = ZoteroClient() # This will go fetch your tokens and build a client
library = get_library(client) # This will fetch your library as a collection of collections.