Quickstart
Python
from azcaptcha import Azcaptcha
client = Azcaptcha("YOUR_API_KEY")
token = client.solve_recaptcha_v2(
"6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
"https://example.com/login",
)
print(token)
Examples
Three captcha types, three snippets
Python
token = client.solve_recaptcha_v2(sitekey, pageurl)
# invisible / enterprise
token = client.solve_recaptcha_v2(sitekey, pageurl, invisible=True)
Python
token = client.solve_turnstile("0x4AAAAAAA...", "https://example.com/")
token = client.solve_hcaptcha("SITEKEY", "https://example.com/")
Python
# bytes, base64, data: URI or file path
answer = client.solve_image("captcha.png")
All snippets assume YOUR_API_KEY is set and a client named client exists.
Polling timeouts and retry behaviour are handled by the SDK.