https://github.com/ghasedakapi/ghasedak-python
Ghasedak sms webservice Python package
https://github.com/ghasedakapi/ghasedak-python
python python-library python3 sms-api sms-sdk
Last synced: 6 days ago
JSON representation
Ghasedak sms webservice Python package
- Host: GitHub
- URL: https://github.com/ghasedakapi/ghasedak-python
- Owner: ghasedakapi
- License: mit
- Created: 2018-07-15T11:04:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-29T10:09:55.000Z (over 3 years ago)
- Last Synced: 2025-11-27T15:32:31.571Z (3 months ago)
- Topics: python, python-library, python3, sms-api, sms-sdk
- Language: Python
- Homepage: https://ghasedak.me/python
- Size: 15.6 KB
- Stars: 13
- Watchers: 4
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Ghasedak-python
[Ghasedak sms webservice](https://ghasedak.me) python package.
## installation
You can simply install ghasedak python package with `pip`:
```shell
pip install ghasedakpack
```
## usage
```python
import ghasedakpack
#create an instance:
sms = ghasedakpack.Ghasedak("Your APIKEY")
#send a single message to a single number:
sms.send({'message':'hello, world!', 'receptor' : '09xxxxxxxxx', 'linenumber': 'xxxx', 'senddate': '', 'checkid': ''})
#send a single message to multiple numbers:
sms.bulk1({'message':'hello, world!', 'receptor' : '09xxxxxxxxx,09xxxxxxxxx,09xxxxxxxxx', 'linenumber': 'xxxx', 'senddate': '', 'checkid': ''})
#send multiple massages to multiple numbers:
sms.bulk2({'message':'hello, world!,another massage', 'receptor' : '09xxxxxxxxx,09xxxxxxxxx,09xxxxxxxxx', 'linenumber': 'xxxx', 'senddate': '', 'checkid': ''})
#get the status of massages:
print(sms.status({'id': 'messageId', 'type': '1'}))
#send verification massages:
sms.verification({'receptor': '09xxxxxxxxx','type': '1','template': 'Your Template','param1': '','param2': '','param3': ''})
```
## license
Released under the MIT License.