smsir
smsir is a Python library for using SMS web services www.sms.ir
Installation
Use the package manager pip to install smsir.
pip install smsir
Usage
Sms.ir sms webservice python package.
from smsir import Token, sms
# returns 'TOKEN'
# get UserApiKey and SecretKey values from your panel
Token(UserApiKey='value', SecretKey='value').get_secure_token()
# returns 'geese'
sms().send_by_mobile_number(
Messages='your message',
MobileNumbers='receiver number',
LineNumber='sender number',
Token=TOKEN #get from method Token
)