Rucaptcha api realization on ts
npm
npm i api-rucaptcha
`
Using
`ts
import { RucaptchaApi } from './';
const captchaApi = new RucaptchaApi(process.env.APIKEY);
(async () => {
const solvedCaptcha = await captchaApi.solveCaptcha(base64);
console.log(solvedCaptcha);
})();
`
also you can change delay, and host urls like that :
`ts
const captchaApi = new RucaptchaApi(process.env.APIKEY, {
delay: 1000,
retry: 5,
});
``