Py2SMS icon indicating copy to clipboard operation
Py2SMS copied to clipboard

Python code to send SMS with Way2Sms

Py2SMS

Python3 code to send SMS with Way2Sms

Send upto 100 free SMS within 10 seconds daily yo any phone number in India.

Way2Sms provides free SMS service upto 10 messages daily with message length upto 139 characters.

Prerequisites

  • Install Python3.x from here.
  • Create an account in Way2SMS
  • Install py2sms using pip install py2sms

How to use Py2SMS

import py2sms
  • Sending message
s=py2sms.send(username,password,number,message)
  • If message was sent successfully, py2sms.send() will return True, else False

Disclaimer

This code was inspired by http://home.iitk.ac.in/~saiwal/productivity/send-sms-way2sms-python/