1.0.3 • Published 9 years ago

addybot-api v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

Introduction

AddyBot is a first global advertising platform created specially for chatbots. As most of the chatbots are written in Node.js, we assumed it would be great to have an npm module to quickly integrate your bot with the our service.

Quick Start

npm install --save addybot-api
var addybot = require('addybot-api');
var getAd = addybot(API_TOKEN); // Checkout your cabinet

getAd(userId, "english").then(ad => {
  var message = ad.text + '\n' + ad.uri;
  // Send this message to user
});

Also

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago