captchaai-python-1.0
توضیحات
CaptchaAI.IO library for Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | captchaai-python-1.0 |
| نام | captchaai-python |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alperen Sert |
| ایمیل نویسنده | business@alperenn.com |
| آدرس صفحه اصلی | https://github.com/alperensert/captchaai_python |
| آدرس اینترنتی | https://pypi.org/project/captchaai-python/ |
| مجوز | MIT |
CaptchaAI.IO package for Python
=
      
[CaptchaAI.IO](https://captchaai.io) package for Python3
Register now from [here](https://dashboard.captchaai.io/passport/register?inviteCode=kXa8cbNF-b2l).
If you have any problem with usage, [read the documentation](https://github.com/alperensert/captchaai_python/wiki) or [create an issue](https://github.com/alperensert/captchaai_python/issues/new)
### 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
```python
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
```python
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
```python
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
```python
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](https://captchaai.atlassian.net/wiki/spaces/CAPTCHAAI/overview)
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | six |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl captchaai-python-1.0:
pip install captchaai-python-1.0.whl
نصب پکیج tar.gz captchaai-python-1.0:
pip install captchaai-python-1.0.tar.gz