Skip to main content

A Python library for sending SMS via sms.ir API

Project description

py-persian-sms

پکیج پایتون برای کار با ای پی آی sms.ir .در این پکیج تنها قابلیت ارسال پیامک به وسیله ای پی آی فعال است.

توسعه توسط امیرحسین نشوی

how to use

installation

pip install py-persian-sms

usage

from pars_sms import Sms



api_key = "YOUR-API-KEY"

secret_key = "YOUR-SECRET-KEY"

line_number = "YOUR-LINE-NUMBER" #only required for bulk sms and sms without template



manager = Sms(api_key, secret_key, line_number)

manager.send("0912XXXXXXX",  text="سلام")

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

py-persian-sms-0.0.3.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

py_persian_sms-0.0.3-py3-none-any.whl (3.8 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