Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    minutedockpublic

    Description

    A Node.js wrapper for the MinuteDock API v1

    Requirements

    Installation

    npm install minutedock
    

    Example

    var http = require('http'),
        Minutedock = require('minutedock');
    
    var md = new Minutedock(
        'API_KEY'
    );
    
    http.createServer(function (req, res) {
    
        md.projects.all(function (err, projects) {
            if (err)
                res.end('Could not load your projects!');
    
            res.end(projects);
        });
    
    
    }).listen(8080);
    console.log('Server running at http://localhost:8080/');
    

    All methods from beta v1 on Minutedock are supported as per: http://minutedock.com/apidocs

    accounts

    • accounts.all(callback)
    • accounts.active(callback)

    users

    • users.all(accountID, callback)

    entries

    • entries.current(callback)
    • entries.update(id, data, callback)
    • entries.start(callback)
    • entries.pause(callback)
    • entries.log(callback)
    • entries.new(accountID, data, callback)
    • entries.search(data, callback)

    contacts

    • contacts.all(accountID, callback)
    • contacts.new(accountID, data, callback)
    • contacts.update(id, data, callback)

    tasks

    • tasks.all(accountID, callback)
    • tasks.new(accountID, data, callback)
    • tasks.update(id, data, callback)
    • tasks.delete(id, callback)
    • tasks.archive(id, callback)

    projects

    • projects.all(accountID, callback)
    • projects.new(accountID, data, callback)
    • projects.update(id, data, callback)
    • projects.delete(id, callback)
    • projects.archive(id, callback)

    Keywords

    none

    install

    npm i minutedock

    Downloadslast 7 days

    2

    version

    0.1.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar