2captcha/2captcha-python — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python 3 package that makes it easy to use the 2Captcha service from my own scripts. I want to give it my API key, submit different captcha challenges, wait for the answer, and get back a simple result I can use.

It should handle common captcha types like normal image captchas, audio, text questions, reCAPTCHA v2 and v3, Cloudflare Turnstile, FunCaptcha, GeeTest, Amazon WAF, and the other supported providers from 2Captcha. Please include options for timeouts, polling intervals, callbacks, proxies, and extra captcha hints like language or expected length.

Also add helper methods to check my balance, send a captcha manually, fetch a result later, and report a bad answer. Include clear errors, an async version, useful examples, and a few Selenium examples showing how someone would plug the answer into a page. Make it installable with pip, add tests, and keep the README friendly with copy paste examples.

Want more depth? Deep Reverse