2011-06-24 79 views
1

與Evernote的Python API中, 我可以看到共享筆記本Evernote的API:筆記listLinkedNotebooks

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

回答

相關問題