Kenya Bulksms gateway to Integrate bulksms into Python project in under 2 minutes.
Project description
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
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
Built Distribution
Close
Hashes for python_royce_bulksms-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3e6bc300ac2fe8ed589b0aa9324f1efeb42092392e5fedf16853f9d80efe9cc |
|
MD5 | 189f59f3af34a454b3e2c0fab24aae43 |
|
BLAKE2b-256 | 52a9d8d54349f64530c6cb96669c1a641dc3302768e2006468d00609f6a12ccf |
Close
Hashes for python_royce_bulksms-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f763d2f81a11ce6e579e08c6963e9f7ef8328c406bdfa3b49a4387d9f80a51 |
|
MD5 | ec190682c33a3e6aa6661cc24e6f0076 |
|
BLAKE2b-256 | 62987939ae07f842deb28d1da07d76ad1f5883a03c3d6a6f232040a7422f0441 |