How to Access A Note's Content

随声附和 提交于 2019-12-11 16:12:53

问题


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.



来源:https://stackoverflow.com/questions/49397637/how-to-access-a-notes-content

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!