While investigating Evernote's API, there is an article that creates notes, but I thought that there are few that get a list of existing notes.
reference https://dev.evernote.com/doc/reference/
import evernote.edam.notestore.ttypes as NoteStore
from evernote.api.client import EvernoteClient
auth_token = "your token"
client = EvernoteClient(token=auth_token)
note_store = client.get_note_store()
note_filter = NoteStore.NoteFilter()
note_filter.words = '' #Please choose your favorite keyword
notes_metadata_result_spec = NoteStore.NotesMetadataResultSpec()
notes_metadata_list = note_store.findNotesMetadata(note_filter, 0, 100, notes_metadata_result_spec) #Get 100 note information
for note_guid in notes_metadata_list.notes:
note = note_store.getNote(note_guid.guid, True, False, False, False)
print note.title
By the way, here is the information that can be obtained from note. https://dev.evernote.com/doc/reference/Types.html#Struct_Note
Recommended Posts