Skip to main content

Zennolab.CapMonsterCloud.Client

Official python client library for 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:

  • FunCaptchaProxylessRequest
  • FunCaptchaRequest
  • GeeTestProxylessRequest
  • GeeTestRequest
  • HCaptchaProxylessRequest
  • HCaptchaRequest
  • ImageToTextRequest
  • RecaptchaV2ProxylessRequest
  • RecaptchaV2Request
  • RecaptchaV3ProxylessRequest
  • RecaptchaV2EnterpriseProxylessRequest
  • RecaptchaV2EnterpriseRequest
  • TurnstileProxylessRequest
  • TurnstileRequest
  • RecaptchaComplexImageTaskRequest
  • HcaptchaComplexImageTaskRequest

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capmonstercloudclient-1.2.1-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file capmonstercloudclient-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for capmonstercloudclient-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1831506a3787b6058092573509a9c55b51ce15140f7b293df2618461795c186
MD5 dedaadef6c96dfd93aaf275e61818321
BLAKE2b-256 c85295dd68a038c6c3f83bb661290a23b67f1752a12cd4bf2c48c0b0f9351010

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page