حزم SDK لـ Algeria OTP

ثبّت @algeria-otp/sdk (npm) وalgeria-otp (PyPI). Dart/Flutter Coming soon (غير منشور على pub.dev). curl ما زال مدعومًا.

# SDKs call the same HTTP API — curl works in any language
# JS: npm install @algeria-otp/sdk
# Python: pip install algeria-otp
# Dart: Coming soon (not published on pub.dev)
curl -X POST "https://api.algeriaotp.com/v1/verify/send" \
  -H "X-Api-Key: <AOTP_API_KEY>" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: demo-verify-send-1" \
  -d '{"phone":"+213000000000"}'

Français · العربية · English