I am look for a way to update tags of notes with a script (retrieve dates from the title and add "Due" tag if they are due). I have not found a way to receive the API Key on Linux.
I installed the joplin-desktop on ubuntu with snap install joplin
.
I started joplin and with : server start
the server, but do not see how to retrieve the api key here.
I found the joplin database at ~/snap/joplin/*/.config/joplin
, but the programmatical api key retrieval with sqlite did not work, as there is no api key in the settings table.
sqlite3 database.sqlite 'select key from settings ;'
activeFolderId
clientId
db.fuzzySearchEnabled
encryption.activeMasterKeyId
encryption.enabled
encryption.passwordCache
encryption.shouldReencrypt
firstStart
keychain.supported
resourceService.lastProcessedChangeId
searchEngine.initialIndexingDone
searchEngine.lastProcessedChangeId
sync.3.context
sync.7.auth
sync.7.context
Any idea?