Skip to main content

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


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)

Uploaded Source

Built Distribution

smsit_wrapper-0.0.2-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page