captcha_oxide

This is a rust library for solving captcha puzzles with the 2Captcha API

Usage

```rust use captchaoxide::solver::CaptchaSolver; use captchaoxide::captcha_arguments::RecaptchaV3;

[tokio::main]

async fn main() { let solver = CaptchaSolver::new("YOUR TWOCAPTCHA API KEY");

let args = RecaptchaV3 { pageurl: String::from("https://someurl.com"), sitekey: String::from("SITE_KEY"), ..Default.default() };

match solver.solve(args).await { Ok(solution) => { let plaintext_solution = solution.solution;

  todo!("Use the solution");
},
Err(e) => {
  todo!("Handle your error");
}

}; } ```