balaboba-api
v1.0.0
Published
``` $ npm install balaboba-api ```
Downloads
3
Readme
(Unofficial) Balaboba API
Installing
$ npm install balaboba-api
Usage
const Balaboba = require('balaboba-api');
const balaboba = new Balaboba();
generate(text, style)
balaboba.generate('Слава написал API').then(response => {
return console.log(response);
}).catch(err => {
return console.error(err);
});
Text must be in Russian, there are 13 styles available starting from 0 (zero is no style at all).