0.0.1 • Published 4 years ago

@saarbrooklynkid/twocaptcha v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

twoCaptcha

twoCaptcha is a node two captcha api wrapper.

Installation

Use the package manager npm to install twoCaptcha.

npm i saarbrooklynkid@twocaptcha

Example

const twoCaptcha=require("@saarbrooklynkid/twoCaptcha");
const twoCaptchaClient = new twoCaptcha({apiKey:APIKEY}); // optional: returnError BOOLEAN, timeout INT, intervall INT

async function hCap(){
var captcha = await twoCaptchaClient.obtainHCaptcha({url:URL,sitekey:SITEKEY})
};
async function reCap(){
var captcha = await twoCaptchaClient.obtainReCaptcha({url:URL,sitekey:SITEKEY}) // optional: Version STRING, proxy STRING, invisible BOOLEAN
};

License

ISC

0.0.1

4 years ago