开发者

evernote api : notes in listLinkedNotebooks

开发者 https://www.devze.com 2023-03-15 15:06 出处:网络
with evernote python api, I can see the shared notebooks notebooks = noteStore.listLinkedNotebooks(authToken)

with evernote python api, I can see the shared notebooks

notebooks = noteStore.listLinkedNotebooks(authToken) 
print "Found ", len(notebooks), " notebooks:" 
for notebook in notebooks:
    print "  * ", notebook,notebo开发者_运维知识库ok.guid

but, if I try read the note in the notebooks

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

I get this error

 evernote.edam.error.ttypes.EDAMNotFoundException: 
 EDAMNotFoundException(identifier='Notebook.guid', key='x-y-z')


Please have a look at this thread and see if it helps: http://forum.evernote.com/phpbb/viewtopic.php?f=43&t=17957

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号