rockcaptcha


Namerockcaptcha JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://rockcaptcha.com
SummaryRockcaptcha solve recaptchaV2, recaptchaV3, funcaptcha, imageToText very fast and cheap
upload_time2024-01-18 08:47:49
maintainer
docs_urlNone
authorRockcaptcha
requires_python>=3.7,<4.0
licenseMIT
keywords rockcaptcha recaptcha recaptchav3 funcaptcha imagetotext solver captcha recaptcha solver funcaptcha solver recaptcha recognition
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            RockCaptcha package for Python
=
[Rockcaptcha.com](https://rockcaptcha.com) package for Python3

Rockcaptcha solve recaptchaV2, recaptchaV3, funcaptcha, imageToText very fast and cheap

# Install

```bash
pip install rockcaptcha
```

# Usage

## create client

```python
from rockcaptcha import RockCaptchaClient

APIKEY = "<EXAMPLE API KEY>"
client = RockCaptchaClient(apikey=APIKEY)
```

## Recaptcha v2:

```python
result = client.recaptcha_v2_task_proxy_less(site_url="SITE_URL", site_key="SITE_KEY", invisible=False)
if result["code"] == 0:  # task success:
    print(result["token"])
else:  # error
    print(result["message"])
```

## Recaptcha v2 enterprise:

```python

result = client.recaptcha_v2_enterprise_task_proxy_less(site_url="SITE_URL", site_key="SITE_KEY")
if result["code"] == 0:  # task success:
    print(result["token"])
else:  # error
    print(result["message"])
```

## Recaptcha v3:

```python
result = client.recaptcha_v3_task_proxy_less(site_url="SITE_URL", site_key="SITE_KEY",
                                             page_action="PAGE_ACTION")
if result["code"] == 0:  # task success:
    print(result["token"])
else:  # error
    print(result["message"])
```

## Recaptcha v3 enterprise:

```python
result = client.recaptcha_v3_enterprise_task_proxy_less(site_key="SITE_KEY",
                                                        site_url="SITE_URL",
                                                        page_action="PAGE_ACTION")
if result["code"] == 0:  # task success:
    print(result.get('token'))
    print(result.get('user_agent'))
else:  # error
    print(result["message"])
```

## Recaptcha recognition

```python
url_list = ['']
caption = 'cars'
result = client.recaptcha_recognition(url_list=url_list, caption=caption)
if result["code"] == 0:  # task success:
    print(result["token"])
else:  # error
    print(result["message"])
```

## Image2text

```python

result = client.image_to_text(file="/path/to/example-file.jpg")
if result["code"] == 0:  # task success:
    print(result["token"])
else:  # error
    print(result["message"])
```

## Funcaptcha

```python
site_key = "2CB16598-CB82-4CF7-B332-5990DB66F3AB"
site_url = "https://twitter.com/"
result = client.fun_captcha_task_proxy_less(site_url, site_key)
if result["code"] == 0:  # task success:
    print(result["token"])
else:  # error
    print(result["message"])
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://rockcaptcha.com",
    "name": "rockcaptcha",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "rockcaptcha,recaptcha,recaptchav3,funcaptcha,imagetotext,solver captcha,recaptcha solver,funcaptcha solver,recaptcha recognition",
    "author": "Rockcaptcha",
    "author_email": "support@rockcaptcha.com",
    "download_url": "https://files.pythonhosted.org/packages/05/2b/9ac62655ad7fdeba433eb6487232e1629a191f889ab9aa8e69cb8b4937b4/rockcaptcha-1.0.1.tar.gz",
    "platform": null,
    "description": "RockCaptcha package for Python\n=\n[Rockcaptcha.com](https://rockcaptcha.com) package for Python3\n\nRockcaptcha solve recaptchaV2, recaptchaV3, funcaptcha, imageToText very fast and cheap\n\n# Install\n\n```bash\npip install rockcaptcha\n```\n\n# Usage\n\n## create client\n\n```python\nfrom rockcaptcha import RockCaptchaClient\n\nAPIKEY = \"<EXAMPLE API KEY>\"\nclient = RockCaptchaClient(apikey=APIKEY)\n```\n\n## Recaptcha v2:\n\n```python\nresult = client.recaptcha_v2_task_proxy_less(site_url=\"SITE_URL\", site_key=\"SITE_KEY\", invisible=False)\nif result[\"code\"] == 0:  # task success:\n    print(result[\"token\"])\nelse:  # error\n    print(result[\"message\"])\n```\n\n## Recaptcha v2 enterprise:\n\n```python\n\nresult = client.recaptcha_v2_enterprise_task_proxy_less(site_url=\"SITE_URL\", site_key=\"SITE_KEY\")\nif result[\"code\"] == 0:  # task success:\n    print(result[\"token\"])\nelse:  # error\n    print(result[\"message\"])\n```\n\n## Recaptcha v3:\n\n```python\nresult = client.recaptcha_v3_task_proxy_less(site_url=\"SITE_URL\", site_key=\"SITE_KEY\",\n                                             page_action=\"PAGE_ACTION\")\nif result[\"code\"] == 0:  # task success:\n    print(result[\"token\"])\nelse:  # error\n    print(result[\"message\"])\n```\n\n## Recaptcha v3 enterprise:\n\n```python\nresult = client.recaptcha_v3_enterprise_task_proxy_less(site_key=\"SITE_KEY\",\n                                                        site_url=\"SITE_URL\",\n                                                        page_action=\"PAGE_ACTION\")\nif result[\"code\"] == 0:  # task success:\n    print(result.get('token'))\n    print(result.get('user_agent'))\nelse:  # error\n    print(result[\"message\"])\n```\n\n## Recaptcha recognition\n\n```python\nurl_list = ['']\ncaption = 'cars'\nresult = client.recaptcha_recognition(url_list=url_list, caption=caption)\nif result[\"code\"] == 0:  # task success:\n    print(result[\"token\"])\nelse:  # error\n    print(result[\"message\"])\n```\n\n## Image2text\n\n```python\n\nresult = client.image_to_text(file=\"/path/to/example-file.jpg\")\nif result[\"code\"] == 0:  # task success:\n    print(result[\"token\"])\nelse:  # error\n    print(result[\"message\"])\n```\n\n## Funcaptcha\n\n```python\nsite_key = \"2CB16598-CB82-4CF7-B332-5990DB66F3AB\"\nsite_url = \"https://twitter.com/\"\nresult = client.fun_captcha_task_proxy_less(site_url, site_key)\nif result[\"code\"] == 0:  # task success:\n    print(result[\"token\"])\nelse:  # error\n    print(result[\"message\"])\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Rockcaptcha solve recaptchaV2, recaptchaV3, funcaptcha, imageToText very fast and cheap",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://rockcaptcha.com"
    },
    "split_keywords": [
        "rockcaptcha",
        "recaptcha",
        "recaptchav3",
        "funcaptcha",
        "imagetotext",
        "solver captcha",
        "recaptcha solver",
        "funcaptcha solver",
        "recaptcha recognition"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b92879ebd57c3366038bd88521ea74fcb98daa2e09279e7929bb75d62b422869",
                "md5": "5968548f7ed92efabb276a5868f2d0fc",
                "sha256": "af867f19f783309760366a18edbd76707540022de46d5d729a183ff8d6ccc72a"
            },
            "downloads": -1,
            "filename": "rockcaptcha-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5968548f7ed92efabb276a5868f2d0fc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 3594,
            "upload_time": "2024-01-18T08:47:47",
            "upload_time_iso_8601": "2024-01-18T08:47:47.974778Z",
            "url": "https://files.pythonhosted.org/packages/b9/28/79ebd57c3366038bd88521ea74fcb98daa2e09279e7929bb75d62b422869/rockcaptcha-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "052b9ac62655ad7fdeba433eb6487232e1629a191f889ab9aa8e69cb8b4937b4",
                "md5": "5e31d43e6c54d8d29ae058094ee04802",
                "sha256": "2f0c3572f3d352200730d2eb3afe511c116d9f105169f477c5ec733563c33c40"
            },
            "downloads": -1,
            "filename": "rockcaptcha-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5e31d43e6c54d8d29ae058094ee04802",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 2863,
            "upload_time": "2024-01-18T08:47:49",
            "upload_time_iso_8601": "2024-01-18T08:47:49.799772Z",
            "url": "https://files.pythonhosted.org/packages/05/2b/9ac62655ad7fdeba433eb6487232e1629a191f889ab9aa8e69cb8b4937b4/rockcaptcha-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-18 08:47:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "rockcaptcha"
}
        
Elapsed time: 1.53528s