Evernote python django- how to get listNotebooks() ?

115 Views Asked by At

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.

1

There are 1 best solutions below

0
On BEST ANSWER

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