2.0.0 • Published 10 years ago

reportr-api v2.0.0

Weekly downloads
20
License
-
Repository
github
Last release
10 years ago

Node.js API Client

This module is a client for the reportr API. The APi is promsie based.

How to install it?

$ npm install reportr-api

How to use it?

var Reportr = require("reportr-api");


// Create a client instance
var client = new Reportr({
    host: "http://example.com",
    auth: {
        username: "Me",
        password: "test"
    }
});

// Post an event
client.postEvent("test", {
   a: 1
});
2.0.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago