No project description provided
Project description
BroCapClient
Official python client library for brocapgpt captcha recognition service
Installation
python3 -m pip install brocapclient
Usage
import asyncio
from brocapclient.requests import HcaptchaRequest
from brocapclient import BroCapGptClient, ClientOptions
client_options = ClientOptions(api_key=<YOUR_API_KEY>)
brocap_client = BroCapGptClient(options=client_options)
async def solve_captcha(request):
return await brocap_client.solve_captcha(request)
hcaptcha_request = HcaptchaRequest(
websiteUrl='https://example.com/',
websiteKey="d391ffb1-bc91-4ef8-a45a-2e2213af091b",
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
fallbackToActualUA=True
)
responses = asyncio.run(solve_captcha(hcaptcha_request))
print(responses)
Supported captcha recognition requests:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brocapclient-1.0.1.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brocapclient-1.0.1.tar.gz.
File metadata
- Download URL: brocapclient-1.0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aabb6612894f649d51b0ffca6bc4e345c373947e8eedc9e036a53262b052f29
|
|
| MD5 |
31b796a7445f0edc4fbde6a62ec39257
|
|
| BLAKE2b-256 |
3ad770b7c58cdbc3d0f58c1a81d5a7edccc9d80023a2ccefe3379285799cb8d1
|
File details
Details for the file brocapclient-1.0.1-py3-none-any.whl.
File metadata
- Download URL: brocapclient-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccf807a73d5946dcecb94df8b1a2d4b8ba24d1a795b7fed6bd6b8da25c39885b
|
|
| MD5 |
37e3ff933238e3759e5982416ead5a57
|
|
| BLAKE2b-256 |
42821225e34012c540a557ecdd08116a3e3e141e1a0d59544f4903a32dd9e6d1
|