evernote api:listLinkedNotebooks中的注释

时间:2011-06-24 06:08:44

标签: python api evernote

用evernote python api, 我可以看到共享笔记本

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 个答案:

答案 0 :(得分:1)

请查看此主题并查看是否有帮助:http://forum.evernote.com/phpbb/viewtopic.php?f=43&t=17957