rustycap 0.1.0

A CapBypass wrapper for Rust
Documentation

rustycap

The official CapBypass wrapper for Rust.

Examples

Initialization of Solver

use rustycap::Solver;

let solver = Solver::new("CAPBYPASS_KEY");

Retreiving Balance

let balance = solver.get_balance().await.expect("Unable to retreive balance");
let credits = balance.credits;

Creating a task and waiting for it

let data = json!({
    "blob": "test",
});
let task = FunCaptchaTask::new(
        "https://example.com/",
        "PUBLIC_KEY",
        "host:port:user:pass"
    ).data(&data).subdomain("roblox-api.arkoselabs.com");
let solution = solver.create_and_wait(task).await?;

println!("Received token: {}", solution);

TaskInfo enum

Field Description
TaskInfo::Processing The task is being processed
TaskInfo::DoesNotExist The task was unable to be found
TaskInfo::Failed The task failed
TaskInfo::Done(String) The task was successful. The String is the solution.