Search code examples
evernoteevernote-app-notebook

Evernote python django- how to get listNotebooks() ?


I followed the instructions and got the access token. Yet when I use their sample code to call listNotebooks() I get 3 things -- "notes", "documents" and "web clippings" in a list. There are no names of actual notebooks. There is also no error. How to get the list of notebooks.


Solution

  • The problem was everytime I called EvernoteClient(token=accessToken,sandbox = False) I had to pass sandbox= False. Not passing meant it was true by default. And the three notebooks: web clippings, etc are in sandbox.evernote.com by default.

    Thanks to kentaro