AnticaptchaNet 0.9.1

Nice simple library for https://anti-captcha.com/ API.

Install-Package AnticaptchaNet -Version 0.9.1
dotnet add package AnticaptchaNet --version 0.9.1
paket add AnticaptchaNet --version 0.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Source

Github

Usage

First, get your anticaptcha API key.

Go to your Anticaptcha API setup panel and copy your Account key.

Add library to your project:
PM> Install-Package AnticaptchaNet
And simply:
Anticaptcha anticaptcha = new Anticaptcha("YOUR_ANTICAPTCHA_KEY");

if (anticaptcha.Balance < 0.1) return;

int taskId = anticaptcha.CreateTask("captcha_filepath.jpg");

TaskResult taskResult = anticaptcha.GetTaskResult(taskId);

while (!taskResult.IsDone)
{
    Thread.Sleep(1000); // Wait for captcha solution.
    taskResult = anticaptcha.GetTaskResult(taskId);
}

string captchaSolution = ((Captcha.ImageToTextSolution)taskResult.Solution).Text;

Dependencies

Source

Github

Usage

First, get your anticaptcha API key.

Go to your Anticaptcha API setup panel and copy your Account key.

Add library to your project:
PM> Install-Package AnticaptchaNet
And simply:
Anticaptcha anticaptcha = new Anticaptcha("YOUR_ANTICAPTCHA_KEY");

if (anticaptcha.Balance < 0.1) return;

int taskId = anticaptcha.CreateTask("captcha_filepath.jpg");

TaskResult taskResult = anticaptcha.GetTaskResult(taskId);

while (!taskResult.IsDone)
{
    Thread.Sleep(1000); // Wait for captcha solution.
    taskResult = anticaptcha.GetTaskResult(taskId);
}

string captchaSolution = ((Captcha.ImageToTextSolution)taskResult.Solution).Text;

Dependencies

Release Notes

Initial.

Version History

Version Downloads Last updated
0.9.1 205 7/21/2018
0.9.0 184 6/25/2018