# Zennolab.CapMonsterCloud.Client
Official python client library for [capmonster.cloud](https://capmonster.cloud/) captcha recognition service
## Installation
python3 -m pip install capmonstercloudclient
## Usage
***
import asyncio
from capmonstercloudclient import CapMonsterClient, ClientOptions
from capmonstercloudclient.requests import RecaptchaV2ProxylessRequest
client_options = ClientOptions(api_key=<YOUR_API_KEY>)
cap_monster_client = CapMonsterClient(options=client_options)
async def solve_captcha():
return await cap_monster_client.solve_captcha(recaptcha2request)
recaptcha2request = RecaptchaV2ProxylessRequest(websiteUrl="https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high",
websiteKey="6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd")
responses = asyncio.run(solve_captcha())
print(responses)
***
Supported captcha recognition requests:
- [GeeTestProxylessRequest](https://zenno.link/doc-geetest-en)
- [GeeTestRequest](https://zenno.link/doc-geetest-proxy-en)
- [HCaptchaProxylessRequest](https://zenno.link/doc-hcaptcha-en)
- [HCaptchaRequest](https://zenno.link/doc-hcaptcha-proxy-en)
- [ImageToTextRequest](https://zenno.link/doc-ImageToTextTask-en)
- [RecaptchaV2ProxylessRequest](https://zenno.link/doc-recaptcha2-en)
- [RecaptchaV2Request](https://zenno.link/doc-recaptcha2-proxy-en)
- [RecaptchaV3ProxylessRequest](https://zenno.link/doc-recaptcha3-en)
- [RecaptchaV2EnterpriseProxylessRequest](https://zenno.link/doc-recaptcha2e-en)
- [RecaptchaV2EnterpriseRequest](https://zenno.link/doc-recaptcha2e-proxy-en)
- [TurnstileProxylessRequest](https://zenno.link/doc-turnstile-en)
- [TurnstileRequest](https://zenno.link/doc-turnstile-proxy-en)
- [RecaptchaComplexImageTaskRequest](https://zenno.link/doc-complextask-rc-en)
- [HcaptchaComplexImageTaskRequest](https://zenno.link/doc-complextask-hc-en)
- [DataDomeCustomTaskRequest](https://docs.capmonster.cloud/docs/captchas/datadome)
- [TenDiCustomTaskRequest](https://docs.capmonster.cloud/docs/captchas/tendi)
- [BasiliskCustomTaskRequest](https://docs.capmonster.cloud/docs/captchas/Basilisk-task)
- [AmazonWafRequest](https://docs.capmonster.cloud/docs/captchas/amazon-task)
Raw data
{
"_id": null,
"home_page": "https://github.com/ZennoLab/capmonstercloud-client-python",
"name": "capmonstercloudclient",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "captcha recaptcha geetest hcaptcha funcaptcha python3 python-library capmonster capmonstercloud capmonstercloudclient",
"author": "Andrey Ilyin",
"author_email": "andrey.ilyin@zennolab.com",
"download_url": "https://files.pythonhosted.org/packages/33/62/d17ec8f58d43fdcbb5f6e0eed890ca2fc032cb22c38d12b2b9d831543d16/capmonstercloudclient-1.5.2.tar.gz",
"platform": null,
"description": "# Zennolab.CapMonsterCloud.Client\n\nOfficial python client library for [capmonster.cloud](https://capmonster.cloud/) captcha recognition service\n\n## Installation\n\n python3 -m pip install capmonstercloudclient\n\n## Usage\n\n***\n import asyncio\n\n from capmonstercloudclient import CapMonsterClient, ClientOptions\n from capmonstercloudclient.requests import RecaptchaV2ProxylessRequest\n\n client_options = ClientOptions(api_key=<YOUR_API_KEY>)\n cap_monster_client = CapMonsterClient(options=client_options)\n\n async def solve_captcha():\n return await cap_monster_client.solve_captcha(recaptcha2request)\n\n recaptcha2request = RecaptchaV2ProxylessRequest(websiteUrl=\"https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high\",\n websiteKey=\"6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd\")\n\n responses = asyncio.run(solve_captcha())\n print(responses)\n***\n\nSupported captcha recognition requests:\n\n- [GeeTestProxylessRequest](https://zenno.link/doc-geetest-en)\n- [GeeTestRequest](https://zenno.link/doc-geetest-proxy-en)\n- [HCaptchaProxylessRequest](https://zenno.link/doc-hcaptcha-en)\n- [HCaptchaRequest](https://zenno.link/doc-hcaptcha-proxy-en)\n- [ImageToTextRequest](https://zenno.link/doc-ImageToTextTask-en)\n- [RecaptchaV2ProxylessRequest](https://zenno.link/doc-recaptcha2-en)\n- [RecaptchaV2Request](https://zenno.link/doc-recaptcha2-proxy-en)\n- [RecaptchaV3ProxylessRequest](https://zenno.link/doc-recaptcha3-en)\n- [RecaptchaV2EnterpriseProxylessRequest](https://zenno.link/doc-recaptcha2e-en)\n- [RecaptchaV2EnterpriseRequest](https://zenno.link/doc-recaptcha2e-proxy-en)\n- [TurnstileProxylessRequest](https://zenno.link/doc-turnstile-en)\n- [TurnstileRequest](https://zenno.link/doc-turnstile-proxy-en)\n- [RecaptchaComplexImageTaskRequest](https://zenno.link/doc-complextask-rc-en)\n- [HcaptchaComplexImageTaskRequest](https://zenno.link/doc-complextask-hc-en)\n- [DataDomeCustomTaskRequest](https://docs.capmonster.cloud/docs/captchas/datadome)\n- [TenDiCustomTaskRequest](https://docs.capmonster.cloud/docs/captchas/tendi)\n- [BasiliskCustomTaskRequest](https://docs.capmonster.cloud/docs/captchas/Basilisk-task)\n- [AmazonWafRequest](https://docs.capmonster.cloud/docs/captchas/amazon-task)\n",
"bugtrack_url": null,
"license": "AGPL-3.0",
"summary": "Official CapMonsterCloud Client: https://capmonster.cloud/",
"version": "1.5.2",
"project_urls": {
"Homepage": "https://github.com/ZennoLab/capmonstercloud-client-python"
},
"split_keywords": [
"captcha",
"recaptcha",
"geetest",
"hcaptcha",
"funcaptcha",
"python3",
"python-library",
"capmonster",
"capmonstercloud",
"capmonstercloudclient"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5d66016f5cf638b36c20e2db0e4277565ae1d260840e3efc4c93730c4a8db64a",
"md5": "4d4078a573ce27154ed79cd5b39798f5",
"sha256": "1e71a3ff499b4624dbcd7937decae7720acbed3bda81ee67618bb5e186a0d8b1"
},
"downloads": -1,
"filename": "capmonstercloudclient-1.5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4d4078a573ce27154ed79cd5b39798f5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 32695,
"upload_time": "2024-11-13T10:10:13",
"upload_time_iso_8601": "2024-11-13T10:10:13.147180Z",
"url": "https://files.pythonhosted.org/packages/5d/66/016f5cf638b36c20e2db0e4277565ae1d260840e3efc4c93730c4a8db64a/capmonstercloudclient-1.5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3362d17ec8f58d43fdcbb5f6e0eed890ca2fc032cb22c38d12b2b9d831543d16",
"md5": "944f41d6b4be5e1e4441998f6d58e3e8",
"sha256": "a107631e936d56e8697183fa5ae8702151a4b619fdf50a46ab2cc0337c6914d1"
},
"downloads": -1,
"filename": "capmonstercloudclient-1.5.2.tar.gz",
"has_sig": false,
"md5_digest": "944f41d6b4be5e1e4441998f6d58e3e8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 14155,
"upload_time": "2024-11-13T10:10:14",
"upload_time_iso_8601": "2024-11-13T10:10:14.965689Z",
"url": "https://files.pythonhosted.org/packages/33/62/d17ec8f58d43fdcbb5f6e0eed890ca2fc032cb22c38d12b2b9d831543d16/capmonstercloudclient-1.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-13 10:10:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ZennoLab",
"github_project": "capmonstercloud-client-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "aiohttp",
"specs": [
[
">=",
"3.7.4"
]
]
},
{
"name": "pydantic",
"specs": [
[
"==",
"2.1.*"
]
]
}
],
"lcname": "capmonstercloudclient"
}