Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

s0ftik3/balaboba-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(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).

Info

  • All the data is fetched from Yandex.
  • Author of the API s0ftik3.