JSPM

anydo

0.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q40342F
  • License WTFPL

Unofficial Any.do client for Node.js.

Package Exports

  • anydo
  • anydo/lib/parse-body

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (anydo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.