manage message in www.sms.ir
Project description
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
)
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smsir-1.0.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
smsir-1.0.0-py3-none-any.whl
(5.3 kB
view hashes)