This is a helper library for sending sms's via the BulkSmsZim Api (www.bulksmszim.co.zw)
USAGE :
1.First assign variables for the authentication token, username , to and message ie
username = 'Your Username' auth_token = 'Your API Key' to = ['263xxx', '263xxx] message = 'Your Message'
and initialise them with their respective details as supplied from the bulk sms api dashboard ie auth_token(API KEY) and username
2.Set the message variable to the required message you want
3.The to variable is a list so it must be initialised like this: to = ['263...', '263...']
4.Finally import the send_message function passing the four (username, auth_token,to and message) variables to the send_message variable and call it assigning it to a variable so as to get a response to send the message ie from BulkSmsZim.text import send_message
response = send_message(username, auth_token, to, message)
5.If message was sent successfully, 'OK' should be the response
FULL USAGE EXAMPLE :
from BulkSmsZim.text import send_message
username = 'Your Username' auth_token = 'Your API Key' to = ['263xxx', '263xxx] message = 'Your Message'
response = send_message(username, auth_token, to, message) print(response)
Metadata
Release files for BulkSmsZim 1.2.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 | |
|---|---|---|---|
| BulkSmsZim-1.2.1.tar.gz | 2.0 kB | Details |
Release files / BulkSmsZim-1.2.1.tar.gz
| Download URL | BulkSmsZim-1.2.1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f202c6796aa86aabda236dbaae044049a6883ec008d8ee1ac66efd033693f638
|
|
BLAKE2b-256 checksum How to use checksums |
55a77c26c97156885ae0a09c858ae2e9970408dbcb8296d535e7627cbcac5029
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
|