Evernote API:列表中的链接笔记本的笔记

1 投票
1 回答
1356 浏览
提问于 2025-04-16 20:12

使用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')

1 个回答

1

请看看这个讨论串,看看是否对你有帮助:http://forum.evernote.com/phpbb/viewtopic.php?f=43&t=17957

撰写回答