This integration follow the documentation of the Anti Captcha Com API.
Add the dependency in your pom.xml:
<dependency>
<groupId>net.botlify.anticaptchacom-api</groupId>
<artifactId>anticaptchacom-api</artifactId>
<version>LATEST</version>
</dependency>
To start using the API, you need to create an instance of the API with your API key. You can find your API key in your account page, then use the following code:
AntiCaptchaComConfig config = new AntiCaptchaComConfig("YOUR_API_KEY");
AntiCaptchaComAPI api = new AntiCaptchaComAPI(config);
// Solve a captcha
String response = solve(captchaKey, captchaUrl, captchaType);