Skip to content

Latest commit

 

History

History
executable file
·
25 lines (14 loc) · 458 Bytes

README.md

File metadata and controls

executable file
·
25 lines (14 loc) · 458 Bytes

sendotp-python

Python package for the SendOTP API (https://sendotp.msg91.com/).

Installation

pip install sendotp

Basic Usage

from sendotp import sendotp

otpobj =  sendotp.sendotp('Autk-Key','my message is {{otp}} keep otp with you.')

# 3245 is the otp to send
print otpobj.send(919981534313,'msgind',3245)

print otpobj.verify(910000000000,3245)

print otpobj.retry(910000000000) OR
print otpobj.retry(910000000000,'text')