1.0.0 • Published 7 years ago

botlytics-middleware v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

botlytics-middleware

Node module for Botlytics API.

Refer to Botlytics official docs here.

Installation

npm install botlytics-middleware

Usage

In your app.js add requirements for botlytics-middleware package and set:

  • your Botlytics token (required)
  • a unique bot id (optional)
var BotlyticsMiddleware = require('botlytics-middleware')({
			token: "<<BOTLYTICS_TOKEN>>",
    		botId: "<<BOT_ID>>"
});