Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nashviamir/py-persian-sms
https://github.com/nashviamir/py-persian-sms
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nashviamir/py-persian-sms
- Owner: nashviamir
- License: mit
- Created: 2022-06-15T06:40:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-16T07:06:25.000Z (over 2 years ago)
- Last Synced: 2024-07-24T02:52:58.620Z (2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## py-persian-sms
پکیج پایتون برای کار با ای پی آی sms.ir .در این پکیج تنها قابلیت **ارسال پیامک** به وسیله ای پی آی فعال است.
توسعه توسط امیرحسین نشوی## how to use
installationpip 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="سلام")