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

Download files

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

Source Distribution

capmonstercloudclient-1.0.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

capmonstercloudclient-1.0.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file capmonstercloudclient-1.0.1.tar.gz.

File metadata

  • Download URL: capmonstercloudclient-1.0.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for capmonstercloudclient-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d5e7f4a60f57bbfe139f4dd3984fd5dab79ed7782a73042927307c11034f31a3
MD5 8d1ceac1d663080522ebe951dae7eab2
BLAKE2b-256 bea347424d9f5fa471bcaf36078913fddeaf1200c0602df8d94ce3b1cbec8e27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capmonstercloudclient-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44550e27e8f1535c316f3c37eac0af4837b339a8fdc17072e6d0a83270d9b1ac
MD5 0aebc07e598ebd35730bde9c0a1dd6dd
BLAKE2b-256 d7ff23762b1bbaf3b3aac9f799970b2a2203d8d887e528c0960bc0e5a33b7f79

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 Pingdom Monitoring Sentry Error logging StatusPage Status page