Python wrapper for Unifun BulkSMSAPI (bulksms.md)
Project description
bulksmsmd - Python wrapper for Unifun BulkSMSAPI (bulksms.md)
Condsider the official documentation before using this package or to understand the more advanced options dlrurl, dlrmask, charset and coding.
Installation
Installation is done using the following command:
pip install bulksmsmd
Usage
The username and password are the credentials for the API. The sender is the name of the sender.
client = SMSClient(
username = 'username',
password = 'password',
sender = 'sender',
proxy = {
'http': 'http://PROXY_URL,
'https': 'https://PROXY_URL',
}
)
The client object is used to send messages and contains two methods: send_sms_simple & send_sms_nde.
client.send_sms_simple(
msisdn = '69123456',
body = 'Test message.',
prefix = '373',
)
client.send_sms_nde(
msisdn = '69123456',
body = 'Test message.',
prefix = '373',
dlr_url = 'https://example.com/dlr',
dlr_mask = '31',
charset = 'utf8',
coding = '2',
)
History
0.1.0 (2021-10-03)
- First release on Github.
0.1.1 (2021-10-03)
- Uploaded wheel.
0.1.2 (2022-03-03)
- Multiple changes & documentation improved.
0.1.3 (2023-02-07)
- Proxy support added.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bulksmsmd-0.1.3-py3-none-any.whl.
File metadata
- Download URL: bulksmsmd-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e71b0204617777ee3ad8e8402cb6a5a901cd25b39128c9df5163e37e727ec6f7
|
|
| MD5 |
2c1512d94ca789b4dacdeb6f3ef2a930
|
|
| BLAKE2b-256 |
1ea4f35d0c6c1eea98cc7158a4a3e812fa370db998b89b294bd850f82c2e26bb
|