Once you’ve got your application successfully authenticating with Evernote, we can go through a few quick examples of tasks common to most Evernote partners:
Creating a note
Creating a new Evernote note is as simple as creating a new instance of Types.Note
, adding a title and content and calling NoteStore.createNote
:
This will create the note in the user’s default notebook. If you want to specify a destination notebook, you’ll need assign the notebook’s GUID to note.notebookGuid
before calling createNote
.
There are, of course, plenty of other attributes within Types.Note
that you can adjust, but that’s the simplest form of the note creation process.
Creating a notebook
Notebooks are just as simple to create as notes: make a new Types.Notebook
object, give it a name, and call NoteStore.createNotebook
:
This will create a new notebook called “My Notebook”.