Jump to content
Issues accessing Evernote Support Channels Read more... ×
  • 1
aksiksi

EverExport: a note export client for Scala and JavaScript

Idea

Hello all!

I recently released EverExport, an open-source note export client written in Scala. The goal is to simplify working with the Evernote SDK and abstract away some of the more... confusing API methods.

The client is cross-compiled to JavaScript using  Scala.js, so you can also use the client from JavaScript! You can install it through NPM:

npm install everexport

Here is a JS example that shows how to list all notebooks in a user's account and then list all notes in the first notebook:

const everexport = require('everexport')

const token = "YOUR_EVERNOTE_TOKEN"
const exporter = new everexport.EverExport(token, true) // Second parameter is sandbox = [true/false]

// Fetch all notebooks in user's account
exporter.listNotebooks()
// Then fetch all notes in *first* notebook
.then(notebooks => {
    const n = notebooks[0]
    return exporter.exportNotebook(n.guid)
})
// Then display each note's title and creation time
.then(notes => {
    notes.forEach(note => {
        console.log('Title: ' + note.title + ', Created on: ' + note.created)
    });
})

Let me know if you have any questions and/or suggestions!

  • Like 1

Share this post


Link to post

3 replies to this idea

Recommended Posts

  • 0
59 minutes ago, aksiksi said:

I recently released EverExport, an open-source note export client written in Scala.

Thanks for sharing.  This looks very useful.

Share this post


Link to post
  • 0
On 1/8/2018 at 2:52 PM, JMichaelTX said:

Thanks for sharing.  This looks very useful.

Glad to hear that :)

Share this post


Link to post
  • 0

Client-side Javascript development can be quite overwhelming, even for senior developers.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×