Socket
Socket
Sign inDemoInstall

smsAlert

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    smsAlert

A simple python client for Sms Alert APIs


Maintainers
1

Readme

SMS Alert

A simple python client for SMS Alert APIs. To use this package, you must have a valid account on https://www.smsalert.co.in.

  • Free software: ISC license

Features

  • Send sms to any mobile number using SMS Alert username, password, senderid, route.

Requirements

  • username : SMS Alert account username

  • password : SMS Alert account password

  • mobileno : Destination mobile number (Keep number in international format)

  • message : Message Content to send

  • senderid : Receiver will see this as sender's ID

  • route : If your operator supports multiple routes then give one route name

How to use

//import smsAlert.py where you want to send msg

from smsAlert import smsAlertMsg

class smsAlertMsg(unittest.TestCase):

def setUp(self):
username='' # add your SMS Alert username
    password='' # add your SMS Alert password

self.client = smsAlertMsg(username=username,password=password)

def tearDown(self):
    pass

def test_send_sms(self):
    self.client.send_sms('918010551055','Test SMS','CVDEMO','demo') #(mobileno, message, senderid, route)
	
if __name__ == '__main__':
import sys
sys.exit(unittest.main())	

Credits

This package was created with Cozy Vision Pvt. Ltd.

History

0.5.0

  • First release on PyPI.

1.0.0

  • Some minor changes and fixes.

1.0.1

  • Updated Readme
  • Minor changes.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc