Evernote/evernote-sdk-js — reverse-engineered prompt
Reverse engineered prompt
Build me a JavaScript SDK for the Evernote Cloud API that developers can install with npm and use from Node apps.
I want it to handle Evernote OAuth login, including getting a request token, sending the user to Evernote to authorize, receiving the callback, and turning that into an access token. After that, make it easy to create a client with the token and call Evernote services.
The SDK should let developers access the user store and note store, list notebooks, get the current user, search note metadata with filters, and work with linked notebooks or business notebooks when available. Use promises for the API calls so it feels natural in modern JavaScript.
Please include a small Express sample app showing the OAuth flow and listing notebooks after login. Add clear README instructions for installing, using sandbox versus production, running the sample, and building the package from source.
Want more depth? Deep Reverse