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
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
py-persian-sms-0.0.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for py_persian_sms-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34a80be45d61acc14bad98d82a9446561c4aaf3b9e99906a1e9409996d05a0de |
|
MD5 | 6bd3c8d3588fbc190cc1351b9796999b |
|
BLAKE2b-256 | d3b00768b2581f31b312ca3cb507eb7efd3bc34c81fbd9dac3fe81cdd547b478 |