Skip to main content

CaptchaAI.IO library for Python

Project description

CaptchaAI.IO package for Python

PyPI - Wheel PyPI - Python Version GitHub last commit GitHub release (latest by date) PyPI - Downloads GitHub code size in bytes GitHub Repo stars

CaptchaAI.IO package for Python3

Register now from here.

If you have any problem with usage, read the documentation or create an issue

Installation

pip install captchaai_python

Supported captcha types

  • Image to Text
  • Recaptcha V2
  • Recaptcha V2 Enterprise
  • Recaptcha V3
  • FunCaptcha
  • HCaptcha
  • GeeTest
  • AntiAkamaiBMP
  • HCaptcha Classification
  • DataDome Slider
  • FunCaptcha Classification

Usage examples

ImageToText

from captchaai_python import ImageToTextTask

captchaaiio = ImageToTextTask("API_KEY")
task_id = captchaaiio.create_task(image_path="img.png")
result = captchaaiio.join_task_result(task_id)
print(result.get("text"))

Recaptcha v2

from captchaai_python import RecaptchaV2Task

captchaaiio = RecaptchaV2Task("API_KEY")
task_id = captchaaiio.create_task("website_url", "website_key")
result = captchaaiio.join_task_result(task_id)
print(result.get("gRecaptchaResponse"))

Recaptcha v2 enterprise

from captchaai_python import RecaptchaV2EnterpriseTask

captchaaiio = RecaptchaV2EnterpriseTask("API_KEY")
task_id = captchaaiio.create_task("website_url", "website_key", {"s": "payload value"}, "api_domain")
result = captchaaiio.join_task_result(task_id)
print(result.get("gRecaptchaResponse"))

GeeTest

from captchaai_python import GeeTestTask

captchaaiio = GeeTestTask("API_KEY")
task_id = captchaaiio.create_task("website_url", "gt", "challenge")
result= captchaaiio.join_task_result(task_id)
print(result.get("challenge"))
print(result.get("seccode"))
print(result.get("validate"))

For other examples and api documentation please visit wiki

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

captchaai_python-1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

captchaai_python-1.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file captchaai_python-1.0.tar.gz.

File metadata

  • Download URL: captchaai_python-1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for captchaai_python-1.0.tar.gz
Algorithm Hash digest
SHA256 087651308d3186f54dfada5fb2159af8834aa57c3db481ce80804438e34e0f9b
MD5 37bca65eacfee706628b20fb3924f85a
BLAKE2b-256 359f27a7827b610b01d714a4ac94e367c010c2b962873a0fdbcf13c3cf20f57c

See more details on using hashes here.

File details

Details for the file captchaai_python-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for captchaai_python-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75113c1ebfd8bd7efc58a55343f44f0418bc395925e6d66ad3294443468edbe1
MD5 ab1abb8c814fe77958e58996c1696821
BLAKE2b-256 a36857dbd9a40033762a83c49881ddedef2948188b0647d81e85558a44c1ef2e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page