JSPM

anydo

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q40400F
  • License WTFPL

Unofficial Anydo client for Node.js.

Package Exports

  • anydo

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 Anydo 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

License

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

Made with ❤️ by @MarkTiedemann.