1.0.1 • Published 7 years ago

cleverbot v1.0.1

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

Cleverbot

In order to use this package, you must obtain a Cleverbot API key here.

Usage

const Cleverbot = require('cleverbot');

let clev = new Cleverbot({
  key: 'YOUR_API_KEY' // Can be obtained at http://cleverbot.com/api
});

clev.query('Just a small town girl')
.then(function (response) {
  console.log(response.output); //=> Livin' in a lonely world!

  clev.query(response.output, {
    cs: response.cs
  })
  .then(function (response2) {
    console.log(response2.output); //=> She took the midnight train going anywhere.
  });

});
1.0.1

7 years ago

1.0.0

7 years ago

1.0.4

9 years ago

1.0.3

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago