Evernote API:列表中的链接笔记本的笔记
使用Evernote的Python接口,我可以看到共享的笔记本。
notebooks = noteStore.listLinkedNotebooks(authToken)
print "Found ", len(notebooks), " notebooks:"
for notebook in notebooks:
print " * ", notebook,notebook.guid
但是,如果我尝试读取这些笔记本里的笔记,
notebooks = noteStore.listLinkedNotebooks(authToken)
print "Found ", len(notebooks), " notebooks:"
for notebook in notebooks:
print " * ", notebook,notebook.guid
filter = NoteStore.NoteFilter()
filter.notebookGuid = notebook.guid
noteList = noteStore.findNotes(authToken,filter,0,10)
#print noteList
for n in noteList.notes:
print n.title, n.guid
我就会遇到这个错误。
evernote.edam.error.ttypes.EDAMNotFoundException:
EDAMNotFoundException(identifier='Notebook.guid', key='x-y-z')