Evernote api:listLinkedNotebooks 中的笔记

发布于 2024-11-16 20:42:12 字数 830 浏览 3 评论 0原文

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

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,notebook.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')

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

偷得浮生 2024-11-23 20:42:12

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

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文