Last active
August 29, 2015 14:01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
note = Types.Note() | |
note.title = "I will soon have application data" | |
note.content = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" | |
note.content += "<!DOCTYPE en-note SYSTEM \"http://xml.evernote.com/pub/enml2.dtd\">" | |
note.content += "<en-note>Content goes here</en-note>" | |
note = note_store.createNote(note) | |
# Now we have the note GUID and can add applicationData | |
dkey = "my-consumer-key" # the first part of your API key | |
dval = "I'm the value: an arbitrary string" | |
note_store.setNoteApplicationDataEntry(note.guid, dkey, dval) | |
note = note_store.updateNote(note) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment