Python Integration
Python integration for SilentShield is coming soon. Support for Django, Flask, and FastAPI is planned.
Coming Soon
We are actively developing Python SDK and integration guides. In the meantime, you can use the server-side verification endpoint directly with Python's requests library.
Want to be notified when Python support is ready? Contact us at [email protected].
Preview: Direct API Call
You can already verify nonces from Python using any HTTP client:
import requests
def verify_nonce(api_key: str, nonce: str) -> bool:
response = requests.post(
'https://api.silentshield.io/api/v1/captcha/verify-nonce',
json={'nonce': nonce},
headers={
'Content-Type': 'application/json',
'X-Api-Key': api_key,
},
timeout=5,
)
data = response.json()
return data.get('verdict') != 'bot'