A Python library to interact with mCaptcha API
Find a file
2024-06-07 15:28:11 +05:30
.reuse
LICENSES
scripts
src/mcaptcha_api
tests
.env_sample
.gitignore
.woodpecker.yml
Makefile
pyproject.toml feat: prep for 0.1.0 release 2023-12-31 21:45:32 +05:30
README.md
renovate.json Add renovate.json 2024-06-04 07:36:06 +00:00
requirements.txt Merge pull request 'chore(deps): update dependency build to v1.2.1' (#2) from renovate/build-1.x into master 2024-06-07 15:28:11 +05:30

status-badge


mcaptcha_api: Python library to interact with mCaptcha server

Installation

pip install mcaptcha_api

Usage

Parameter Info
instance_url the URL of the mCaptcha instance you are using
sitekey The captcha identifier; can be obtained from dashboard or from widget URL (http://hostname/widget?sitekey=<sitekey>
secret Account secret; can be obtained from mCaptcha dashboard account settings page
mcaptcha = MCaptcha(instance_url=INSTANCE_URL, sitekey=SITEKEY, secret=SECRET)
assert mcaptcha.verify(token=TOKEN) is True