Skip to content

MSG91/sendotp-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages