import { Client } from 'evernote';
export default defineComponent({
props: {
evernote: {
type: "app",
app: "evernote",
}
},
async run({ steps, $ }) {
var developerToken = this.evernote.$auth.developer_token;
var client = new Client({ token: developerToken, sandbox: false });
var noteStore = await client.getNoteStore();
return await noteStore.listNotebooks();
},
})
Evernote uses API keys for authentication. When you connect your Evernote account, Pipedream securely stores the keys so you can easily authenticate to Evernote APIs in both code and no-code steps.