1.0.0 • Published 9 years ago

evernote-rsvp v1.0.0

Weekly downloads
2
License
GPLv3
Repository
github
Last release
9 years ago

evernote-rsvp

use rsvp wrap evernote api

API

require

ver Service = require('evernote-rsvp');
var service = new Service({token: token});

// service.listNotebooks()

// service.listNotesByNotebook(notebookGuid)

// service.listTagsByNotebook(notebookGuid)

// service.findNotes(search_attributes, offset, limit)

// service.getNote(noteGuid, withContent, withResourcesData, withResourcesRecognition, withResourcesAlternateData)

// service.getTag(tagGuid)

// all these methods return a promise object

service.listNotebooks().then(function(notebooks){
  notebooks.forEach(function(notebook){
    console.log(notebook.name);
  });
}).catch(function(e){
  console.error(e);
});