bogdan0083/rucaptcha-solver

#1
Rucaptcha client for small/big captcha with Promises and async/await support

Installation
rucaptcha-solver requires Node v7.0.0 or greater

npm i rucaptcha-solver

How to use
Code:
// require solver module
const Solver = require('rucaptcha-solver');

// create new Solver instance
const solver = new Solver({
  apiKey: '1abc234de56fab7c89012d34e56fa7b8' // Required
});

// async/await example. For example with promises check "Examples" link above
(async () => {

  try {
    // wikipedia link to captcha
    const captchaUrl = 'https://upload.wikimedia.org/wikipedia/commons/6/69/Captcha.jpg';

    // solve captcha
    const { id, answer } = await solver.solve(captchaUrl);

    console.log(`Your captcha answer is ${answer}`);
    console.log(`Your captcha id is ${id}`);
  } catch (err) {
    console.log('Oh, no! We got the error!');
    console.log(err.message);
  }

})();
Documentation https://githubmemory.com/repo/bogdan0083/rucaptcha-solver