Skip to content

hubdoc/vero-node

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Usage

var Vero = require('vero-node').EventLogger;
var authToken = process.env['VERO_TOKEN'];
var devMode = true; // false in PRODN
var veroLogger = new Vero(authToken, devMode);

veroLogger.addUser(1982, 'user@person.com', function (err, res, body) {
    if (err) return console.log(err);
    console.log(body); // { status: 200, message: 'Success.' }
});

veroLogger.addEvent(1982, 'uploaded_doc', {doc_type: 'pdf'}, function (err, res, body) {
    if (err) return console.log(err);
    console.log(body); // { status: 200, message: 'Success.' }
});

About

Simple Node.js wrapper for the Vero API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published