cleverbot-api

Simple library, interacting with cleverbot's api.


Keywords
cleverbot, api, nodejs
License
MIT
Install
npm install cleverbot-api@1.0.3

Documentation

CleverbotAPI

Simple library, interacting with cleverbot's api.

You can find information about the usage of the library in it's wiki.

You can find information about the API and get an API key at cleverbot.com/api.

Example

const CleverbotAPI = require('cleverbot-api');
const cleverbot = new CleverbotAPI('YOURAPIKEY');

cleverbot.getReply({
    input: 'Just a small town girl'
}, (error, response) => {
    if(error) throw error;
    console.log(response.input);
    console.log(response.output);
});