AnticaptchaNet 0.9.1

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

There is a newer version of this package available.
See the version list below for details.
Install-Package AnticaptchaNet -Version 0.9.1
dotnet add package AnticaptchaNet --version 0.9.1
<PackageReference Include="AnticaptchaNet" Version="0.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.9.2 254 5/2/2019
0.9.1 339 7/21/2018
0.9.0 289 6/25/2018