capsolver-python


Namecapsolver-python JSON
Version 1.0 PyPI version JSON
download
home_pagehttps://github.com/alperensert/capsolver_python
SummaryCapSolver.com library for Python
upload_time2022-11-30 20:57:17
maintainer
docs_urlNone
authorAlperen Sert
requires_python>=3
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            CapSolver.com package for Python
=
![PyPI - Wheel](https://img.shields.io/pypi/wheel/capsolver_python?style=plastic) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/capsolver_python?style=flat) ![GitHub last commit](https://img.shields.io/github/last-commit/alperensert/capsolver_python?style=flat) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/alperensert/capsolver_python?style=flat) ![PyPI - Downloads](https://img.shields.io/pypi/dm/capsolver_python?style=flat) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/alperensert/capsolver_python?style=flat) ![GitHub Repo stars](https://img.shields.io/github/stars/alperensert/capsolver_python?style=social) 

[CapSolver.com](https://capsolver.com) package for Python3

Register now from [here](https://dashboard.capsolver.com/passport/register?inviteCode=kXa8cbNF-b2l).

If you have any problem with usage, [read the documentation](https://github.com/alperensert/capsolver_python/wiki) or [create an issue](https://github.com/alperensert/capsolver_python/issues/new)

### Installation
```
pip install capsolver_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 capsolver_python import ImageToTextTask

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

#### Recaptcha v2

```python
from capsolver_python import RecaptchaV2Task

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

#### Recaptcha v2 enterprise

```python
from capsolver_python import RecaptchaV2EnterpriseTask

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

#### GeeTest

```python
from capsolver_python import GeeTestTask

capsolver = GeeTestTask("API_KEY")
task_id = capsolver.create_task("website_url", "gt", "challenge")
result= capsolver.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)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/alperensert/capsolver_python",
    "name": "capsolver-python",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "",
    "author": "Alperen Sert",
    "author_email": "business@alperenn.com",
    "download_url": "https://files.pythonhosted.org/packages/91/80/2962d38766ec0f63ba9a670b5088c28730576fc1e6cc0341f8c727b317e0/capsolver_python-1.0.tar.gz",
    "platform": null,
    "description": "CapSolver.com package for Python\n=\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/capsolver_python?style=plastic) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/capsolver_python?style=flat) ![GitHub last commit](https://img.shields.io/github/last-commit/alperensert/capsolver_python?style=flat) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/alperensert/capsolver_python?style=flat) ![PyPI - Downloads](https://img.shields.io/pypi/dm/capsolver_python?style=flat) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/alperensert/capsolver_python?style=flat) ![GitHub Repo stars](https://img.shields.io/github/stars/alperensert/capsolver_python?style=social) \n\n[CapSolver.com](https://capsolver.com) package for Python3\n\nRegister now from [here](https://dashboard.capsolver.com/passport/register?inviteCode=kXa8cbNF-b2l).\n\nIf you have any problem with usage, [read the documentation](https://github.com/alperensert/capsolver_python/wiki) or [create an issue](https://github.com/alperensert/capsolver_python/issues/new)\n\n### Installation\n```\npip install capsolver_python\n```\n\n### Supported captcha types\n- Image to Text\n- Recaptcha V2\n- Recaptcha V2 Enterprise\n- Recaptcha V3\n- FunCaptcha\n- HCaptcha\n- GeeTest\n- AntiAkamaiBMP\n- HCaptcha Classification\n- DataDome Slider\n- FunCaptcha Classification\n\nUsage examples\n-\n\n#### ImageToText\n\n```python\nfrom capsolver_python import ImageToTextTask\n\ncapsolver = ImageToTextTask(\"API_KEY\")\ntask_id = capsolver.create_task(image_path=\"img.png\")\nresult = capsolver.join_task_result(task_id)\nprint(result.get(\"text\"))\n```\n\n#### Recaptcha v2\n\n```python\nfrom capsolver_python import RecaptchaV2Task\n\ncapsolver = RecaptchaV2Task(\"API_KEY\")\ntask_id = capsolver.create_task(\"website_url\", \"website_key\")\nresult = capsolver.join_task_result(task_id)\nprint(result.get(\"gRecaptchaResponse\"))\n```\n\n#### Recaptcha v2 enterprise\n\n```python\nfrom capsolver_python import RecaptchaV2EnterpriseTask\n\ncapsolver = RecaptchaV2EnterpriseTask(\"API_KEY\")\ntask_id = capsolver.create_task(\"website_url\", \"website_key\", {\"s\": \"payload value\"}, \"api_domain\")\nresult = capsolver.join_task_result(task_id)\nprint(result.get(\"gRecaptchaResponse\"))\n```\n\n#### GeeTest\n\n```python\nfrom capsolver_python import GeeTestTask\n\ncapsolver = GeeTestTask(\"API_KEY\")\ntask_id = capsolver.create_task(\"website_url\", \"gt\", \"challenge\")\nresult= capsolver.join_task_result(task_id)\nprint(result.get(\"challenge\"))\nprint(result.get(\"seccode\"))\nprint(result.get(\"validate\"))\n```\n\nFor other examples and api documentation please visit [wiki](https://captchaai.atlassian.net/wiki/spaces/CAPTCHAAI/overview)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CapSolver.com library for Python",
    "version": "1.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "5d7f99e71914e68fda34efba37d2b612",
                "sha256": "545db4945b4c0ef33509cdb8b32ac7220055aebb3b25ff2bc77245973dba2c2e"
            },
            "downloads": -1,
            "filename": "capsolver_python-1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5d7f99e71914e68fda34efba37d2b612",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 14493,
            "upload_time": "2022-11-30T20:57:15",
            "upload_time_iso_8601": "2022-11-30T20:57:15.738413Z",
            "url": "https://files.pythonhosted.org/packages/58/28/3e54b328e4ade56ba6a19c7d4724679b025d61fde421a4c526fa5caf4698/capsolver_python-1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "8d03be8464a34d6bfefec08cc6b5daab",
                "sha256": "35f4640c0dc305c549f94ead748341b9ddc29953a3821959fb38e812cd7ae75f"
            },
            "downloads": -1,
            "filename": "capsolver_python-1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8d03be8464a34d6bfefec08cc6b5daab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 8728,
            "upload_time": "2022-11-30T20:57:17",
            "upload_time_iso_8601": "2022-11-30T20:57:17.186958Z",
            "url": "https://files.pythonhosted.org/packages/91/80/2962d38766ec0f63ba9a670b5088c28730576fc1e6cc0341f8c727b317e0/capsolver_python-1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-11-30 20:57:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "alperensert",
    "github_project": "capsolver_python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "capsolver-python"
}
        
Elapsed time: 0.02412s