0.0.2 • Published 4 years ago
2captchaclient v0.0.2
2captchaclient
2captchaclient is a node two captcha api wrapper.
Installation
Use the package manager npm to install 2captchaclient.
npm i saarbrooklynkid@2captchaclient
Example
const twoCaptcha=require("@saarbrooklynkid/2captchaclient");
const twoCaptchaClient = new twoCaptcha({apiKey:APIKEY}); // optional: returnError BOOLEAN, timeout INT, intervall INT
async function (){
var captcha = await twoCaptchaClient.obtainHCaptcha({url:URL,sitekey:SITEKEY})
};
async function (){
var captcha = await twoCaptchaClient.obtainReCaptcha({url:URL,sitekey:SITEKEY}) // optional: Version STRING, proxy STRING, invisible BOOLEAN
};