Python Bulksms package
Integrate bulk sms into your python project in under 2 minutes
Steps
- Install this package
- Open A free account here
- Generate API key under API menu
- use our default sender ID
RoyceLtd
Installation
pip install python-royce-bulksms
Ensure that requests package is installed
pip install requests
How to use the package
from bulksms import sendSMS
sendSMS(phone_number,message,sender_id,api_key)
Sample response
{
'message': 'Messages sent successfully',
'code': 1, 'status': 'Sent To Network',
'response_description': 'Sent To Network',
'message_id': '968c1d13-ef31-4e04-a46b-8b7cd0d392fa'
}
Delivery Report
from bulksms import deliveryReport
deliveryReport(message_id,api_key)
Sample Response
{
'message': 'Message delivery report',
'code': 1, 'response_code': 1001,
'status': 'Message delivery report',
'delivery_status': 'DeliveredToTerminal',
'delivery_tat': '5s',
'delivery_time': '2022-06-15 12:51:11',
'message_id': '968c255e-4b03-40da-9762-786793cf1cd8'
}
For support call +254 713 727 937 email developer@roycetechnologies.co.ke
Metadata
Release files for python-royce-bulksms 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_royce_bulksms-1.1.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_royce_bulksms-1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / python_royce_bulksms-1.1.tar.gz
| Download URL | python_royce_bulksms-1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3758334012cf455c45721d38a8be76f0c48232657e88ada53043c80e9d8ed9b3
|
|
BLAKE2b-256 checksum How to use checksums |
853386c140d43956af35d3686550c5e88bdda9fa832670618e8411a5eff5266a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.1
|
Release files / python_royce_bulksms-1.1-py3-none-any.whl
| Download URL | python_royce_bulksms-1.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ff06965b43e6eec9eee2c4d132f7cc54f6bfe784edccd2d68f5dcdfa15450f4
|
|
BLAKE2b-256 checksum How to use checksums |
6f0d0836a16da28a951dada485bc8a6fd790a9ba93e3ef27521ca8e0f13570a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.1
|