Skip to main content

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smsir-0.0.6.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

smsir-0.0.6-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page