How to Access A Note's Content

2019-08-17 06:32发布

问题:

I would like to save all the Notes in my Notebooks as plain text files. I am attempting to access the note's content with note_content = note_store.getNoteContent(developer_token,first_notebook.guid)

But I get the following error: evernote.edam.error.ttypes.EDAMNotFoundException: EDAMNotFoundException(identifier='Note.guid', key='e49967e8-3247-4560-8ce5-40577cc2166f')

But I know the guid is valid because first_notebook.guid gives e49967e8-3247-4560-8ce5-40577cc2166f

What am I doing wrong?

回答1:

getNoteContent retrieves individual notes, so it expects a GUID of a note, not a notebook.

See How can I specify ALL guids for getNoteWithResultSpec()? for additional information on how to find or sync notes.



标签: evernote