No description
- Python 100%
| dist | ||
| joplin | ||
| joplin.egg-info | ||
| README.md | ||
| setup.py | ||
Description
This is a python libary that implements basic functions for the Joplin Web Clipper API
Instalation
pip install git+https://git.hannover.ccc.de/bton/Python_Joplin@main
Usage
import
You first need to import the libary
import joplin
initialisation
joplin_api = joplin.Joplin(YOUR_API_TOKEN, PORT, parent_id=THE_ID_OF_THE_NOTEBOOK)
Functions
Get a note inside the notebook by the notes name
joplin_api.get_note_by_name(NAME_OF_THE_NOTE)
Returns a dict including the id
Get the body of the note
joplin_api.get_note_body(NOTE_ID)
Returns the content of the note
Create a note
joplin_api.create_note(NAME, CONTENT)
Creates a note inside the notebook with a given name and contet
Update the notes content
joplin_api.update_note_content(NOTE_ID, NEW_CONTENT)
Replaces the content of the note
Delete a note
joplin_api.delete_note(NOTE_ID)
Deletes the note