SMS-iT API Python wrapper 0.0.2
GitHub at: https://github.com/SMS-iT-ai/smsit_wrapper/blob/main/README.md
Available on pypi
pip install smsit_wrapper
Used runtime: Python 3.8
requests
'addAppointment', 'addContact', 'checkCredits', 'generateOTP', 'getContact', 'getContactByName', 'getGroupsList', 'sendMessageToContacts', 'sendMessageToGroup', 'validateOTP'
from smsit_wrapper import smsit
h = smsit(token="MyToken", version="cloud") #version options : cloud or decentral
The official API Reference can be found here
To generate OTP:
from smsit_wrapper import smsit
h = smsit(token="MyToken", version="cloud") #version options : cloud or decentral
print(h.generateOTP())
OUTPUT:
{'status': 'Success', 'msg': 'Otp Successfully Generated', 'otp': '94b87b'}
Feel Free to contribute and expand the wrapper
To be updated
Have Fun!