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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_persian_sms-0.0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file py-persian-sms-0.0.3.tar.gz.

File metadata

  • Download URL: py-persian-sms-0.0.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for py-persian-sms-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cbd757a05588a76a0a8d59d71994a743192ded2339b3ffe509f1d9cf6c91aea9
MD5 4e066205dd6eee660313108f8a85baba
BLAKE2b-256 931c20a960c814195d8b8ee9bc8be315cae610217fb36a84ab5556c5bb96710d

See more details on using hashes here.

File details

Details for the file py_persian_sms-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: py_persian_sms-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for py_persian_sms-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 34a80be45d61acc14bad98d82a9446561c4aaf3b9e99906a1e9409996d05a0de
MD5 6bd3c8d3588fbc190cc1351b9796999b
BLAKE2b-256 d3b00768b2581f31b312ca3cb507eb7efd3bc34c81fbd9dac3fe81cdd547b478

See more details on using hashes here.

Supported by

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