Skip to content

Instantly share code, notes, and snippets.

@ciiqr
Forked from evernotegists/example.py
Created April 22, 2014 21:56
Show Gist options
  • Save ciiqr/11195824 to your computer and use it in GitHub Desktop.
Save ciiqr/11195824 to your computer and use it in GitHub Desktop.
noteStore = client.get_note_store()
note = Types.Note()
note.title = "I'm a test note!"
note.content = '<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd">'
note.content += '<en-note>Hello, world!</en-note>'
note = noteStore.createNote(note)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment