SMS-iT API Python wrapper 0.0.2
Project description
SMS-iT API Wrapper
SMS-iT API Python wrapper 0.0.2
GitHub at: https://github.com/SMS-iT-ai/smsit_wrapper/blob/main/README.md
Table of Content
Installation
Available on pypi
pip install smsit_wrapper
Requirements
Used runtime: Python 3.8
requests
Available methods
'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
Example
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'}
Contribute
Feel Free to contribute and expand the wrapper
To be updated
Have Fun!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smsit_wrapper-0.0.2.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for smsit_wrapper-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26ccf8a3c6fd5bee6cd12731e54306ddc39807fb291dc6b76ab24786de46ef39 |
|
MD5 | d18af1e3a3e9516bbf880ae1ad1954c7 |
|
BLAKE2b-256 | eb55ca25a6867267edf8b8e059711769959f3db6c573304a255b68aa5ca94600 |