Skip to content
Python API wrapper for the Simplenote web service
Python
Failed to load latest commit information.
docs
simplenote Bump to version 1.0.3 Apr 3, 2016
tests
.gitignore
.travis.yml
CONTRIBUTING.rst Improve wording. Again. Feb 9, 2016
HISTORY.rst
LICENSE
MANIFEST
MANIFEST.in create basic project layout Jun 23, 2011
README.rst
setup.py Bump to version 1.0.0 Nov 23, 2015

README.rst

simplenote.py

Documentation Status https://travis-ci.org/mrtazz/simplenote.py.svg?branch=master Code Climate PyPi MIT License

Introduction

simplenote.py is a python library for the simplenote.com web service.

Installation

Install via pip:

pip install simplenote

Or if you must:

easy_install simplenote

Usage

simplenote.py can be imported into any python module:

import simplenote
simplenote = simplenote.Simplenote(user, password)

The object then provides the following API methods:

simplenote.get_note_list(since=YYYY-MM-DD, tags=[])     # Supports optional `since` parameter that takes "YYYY-MM-DD"
                                                        # date string to return only notes modified since this date.
                                                        # Supports optional `tags` parameter that takes a list of tags
                                                        # to return only notes that contain at least one of these tags.

simplenote.get_note(note_id)                            # note id is value of key `key` in note dict as returned
                                                        # by get_note_list. Supports optional version integer as
                                                        # argument to return previous versions

simplenote.add_note(note)                               # A ``note`` object is a dictionary with at least a
                                                        # ``content`` property, containing the note text.

simplenote.update_note(note)                            # The ``update_note`` method needs a note object which
                                                        # also has a ``key`` property.
simplenote.trash_note(note_id)

simplenote.delete_note(note_id)
Something went wrong with that request. Please try again.