A Python library to interact with mCaptcha API
Find a file
Aravinth Manivannan ca46fb22dc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Merge pull request 'chore(deps): update dependency idna to v3.10' (#23) from renovate/idna-3.x into master
Reviewed-on: #23
2024-09-16 14:10:15 +05:30
.reuse feat: init 2023-12-31 21:09:02 +05:30
LICENSES feat: init 2023-12-31 21:09:02 +05:30
scripts fix: mcaptcha-cli download script 2023-12-31 21:20:42 +05:30
src/mcaptcha_api feat: document lib usage 2023-12-31 21:45:15 +05:30
tests feat: test API library against mcaptcha server 2023-12-31 21:10:07 +05:30
.env_sample feat: test API library against mcaptcha server 2023-12-31 21:10:07 +05:30
.gitignore feat: document lib usage 2023-12-31 21:45:15 +05:30
.woodpecker.yml fix: CI: inject env vars 2023-12-31 21:17:15 +05:30
Makefile fix: CI: rm shell redirection 2023-12-31 21:16:18 +05:30
pyproject.toml chore(deps): update dependency urllib3 to v2.2.3 2024-09-12 11:06:28 +00:00
README.md feat: document lib usage 2023-12-31 21:45:15 +05:30
renovate.json Add renovate.json 2024-06-04 07:36:06 +00:00
requirements.txt chore(deps): update dependency idna to v3.10 2024-09-15 18:38:27 +00:00

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