Skip to main content

Joplin Editor - API

Project description

# Joplin Api

The API of [Joplin Editor](https://joplin.cozic.net/) in Python 3.6+

## requirements

## Installation

` git clone  https://github.com/foxmask/joplin-api cd joplin-api python setup.py install `

## Using Joplin API

` >>> from joplin_api import JoplinApi >>> joplin = JoplinApi(token='the token provided by Joplin in the WebClipper menu:P')) >>> joplin.ping()  # to check if the service is up >>> joplin.get_folders() # to get all the folders >>> folder_title = 'Default' >>> folder = joplin.create_folder(folder_title) # to create a folder >>> # to create a new note >>> note_title = 'My title' >>> note_body = '# My Title ## My Subtitle my body' >>> joplin.create_note(note_title, note_body, folder['id']) >>> joplin.get_notes() # to get all the notes >>> joplin.get_tags() # to get all the tags >>> joplin.version() # to get the version of joplin `

## Tests

before starting the Unit Test, you will need to set the Token line 9 of test.py

token = ‘the token found on the webclipper config of joplin desktop’

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
joplin-api-1.2.1.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page