SunwaySMS

Sunway sms webservice for python.


Keywords
pipy, python, python3, sms-api, sms-gateway, sms-messages, webservice
License
MIT
Install
pip install SunwaySMS==0.1.0

Documentation

SunWay Python

SunWay sms webservice Python package

installation

You can install SunWay python package with pip:

pip install sunwaypack

usage

from sunwaypack import Sunway

#send a single message to a single number:
Sunway.sendarray(UserName= 'xxx', Password= 'xxx', RecipientNumber= '09xxxxxxxxx', MessageBody= '', SpecialNumber= 'xxx')

#get the Credit of User:
Sunway.getcredit(Username='xxx', Password='xxx')

#get the status of massages:
Sunway.messagestatus(UserName='xxx', Password='xxx', MessageID='xxxxxxxxx')

#send a single message to multiple numbers:
Sunway.multisendarray(UserName= 'xxx', Password= 'xxx', RecipientNumber= ['xxxxxx','xxxxxx'], MessageBody= '', SpecialNumber= 'xxx')

license

Released under the MIT License.