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")
cap_monster_client = CapMonsterClient(options=client_options)
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.0.tar.gz (9.7 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.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: capmonstercloudclient-1.0.0.tar.gz
  • Upload date:
  • Size: 9.7 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.0.tar.gz
Algorithm Hash digest
SHA256 5fae247174fec203d4559c827edfd558bf2a9caa97fc8b8dca8677aebecab5d3
MD5 7fa635dc605cc419a45fcf18bb2a53f0
BLAKE2b-256 158b4e48b05faf4d3a39510c8e293cf0fcccd8353e18f0041113b83b7a7d89e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for capmonstercloudclient-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d915e47c7d604c3a21d8f74d17e887e1587cc4d835de44fefa93c1797cb8d18
MD5 672e3d99e74bad49497c1e267d9dc9d8
BLAKE2b-256 ca9b3f19bbc96fb6657720d407bfc74c7295c287c55da8937578f736132c4039

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