# 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)
- [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)
- [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)
- [BinanceTaskRequest](https://docs.capmonster.cloud/docs/captchas/binance)
- [BinanceTaskProxylessRequest](https://docs.capmonster.cloud/docs/captchas/binance)
- [ImpervaCustomTaskRequest](https://docs.capmonster.cloud/docs/captchas/incapsula)
- [ImpervaCustomTaskProxylessRequest](https://docs.capmonster.cloud/docs/captchas/incapsula)
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 \n\t\t\t\trecaptcha\n\t\t\t\tgeetest\n\t\t\t\thcaptcha\n\t\t\t\tfuncaptcha\n\t\t\t\tpython3\n\t\t\t\tpython-library\n\t\t\t\tcapmonster\n capmonstercloud\n capmonstercloudclient",
"author": "Andrey Ilyin",
"author_email": "andrey.ilyin@zennolab.com",
"download_url": "https://files.pythonhosted.org/packages/e4/a4/9776275df3be6639e470af4a9418afbb5972d0800a7728df3ef9520a01b1/capmonstercloudclient-1.6.0.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- [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- [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- [BinanceTaskRequest](https://docs.capmonster.cloud/docs/captchas/binance)\n- [BinanceTaskProxylessRequest](https://docs.capmonster.cloud/docs/captchas/binance)\n- [ImpervaCustomTaskRequest](https://docs.capmonster.cloud/docs/captchas/incapsula)\n- [ImpervaCustomTaskProxylessRequest](https://docs.capmonster.cloud/docs/captchas/incapsula)\n",
"bugtrack_url": null,
"license": "AGPL-3.0",
"summary": "Official CapMonsterCloud Client: https://capmonster.cloud/",
"version": "1.6.0",
"project_urls": {
"Homepage": "https://github.com/ZennoLab/capmonstercloud-client-python"
},
"split_keywords": [
"captcha",
"\n\t\t\t\trecaptcha\n\t\t\t\tgeetest\n\t\t\t\thcaptcha\n\t\t\t\tfuncaptcha\n\t\t\t\tpython3\n\t\t\t\tpython-library\n\t\t\t\tcapmonster\n",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"capmonstercloud\n",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"capmonstercloudclient"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b8ac64fdabb399203aa594929e11f524a0c5e0a070a802ca81de8812cd94e2e3",
"md5": "ce3a167ccf29ac9aea7c2a4cd6b29558",
"sha256": "d2656cc35fbbcf966f460086146da3b2c67e219558ce7b75577346faaaff8313"
},
"downloads": -1,
"filename": "capmonstercloudclient-1.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ce3a167ccf29ac9aea7c2a4cd6b29558",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 36170,
"upload_time": "2025-01-27T13:11:16",
"upload_time_iso_8601": "2025-01-27T13:11:16.573407Z",
"url": "https://files.pythonhosted.org/packages/b8/ac/64fdabb399203aa594929e11f524a0c5e0a070a802ca81de8812cd94e2e3/capmonstercloudclient-1.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e4a49776275df3be6639e470af4a9418afbb5972d0800a7728df3ef9520a01b1",
"md5": "022d5e6a69934295a7765f39f1c78882",
"sha256": "13475f21576eff5422dd12e887a87db2675be61fd8b3850ba5e796f4da19e191"
},
"downloads": -1,
"filename": "capmonstercloudclient-1.6.0.tar.gz",
"has_sig": false,
"md5_digest": "022d5e6a69934295a7765f39f1c78882",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 14986,
"upload_time": "2025-01-27T13:11:19",
"upload_time_iso_8601": "2025-01-27T13:11:19.588722Z",
"url": "https://files.pythonhosted.org/packages/e4/a4/9776275df3be6639e470af4a9418afbb5972d0800a7728df3ef9520a01b1/capmonstercloudclient-1.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-27 13:11:19",
"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"
}