anydo

0.2.1 • Public • Published

anydo

Unofficial Any.do client for Node.js.

Installation

npm install anydo

Quickstart

const anydo = require('anydo')
 
const options = {
  email: 'your@example.org',
  password: 'super-secret'
}
 
anydo(options, (err, result) => {
  if (err) throw err
  
  // get the titles of all your tasks
  const taskTitles = result.models.task.items.map(t => t.title)
  console.log(taskTitles) // => [ 'dont worry', 'be happy', ... ]
})

API

anydo(options, callback)

  • options <Object>:
    • email <String>: required
    • password <String>: required
    • hostname <String>: default: sm-prod2.any.do
    • updatedSince <Number>: default: 0
    • includeDone <Boolean>: default: false
    • includeDeleted <Boolean>: default: false

CLI

See: anydo-cli.

License

WTFPL – Do What the F*ck You Want to Public License.

Made with ❤️ by @MarkTiedemann.

Package Sidebar

Install

npm i anydo

Weekly Downloads

1

Version

0.2.1

License

WTFPL

Last publish

Collaborators

  • mark.tiedemann