Django Royce Bulksms
Integrate Bulk sms into your project in under 2 minutes
Quick start
Install the package
pip install django-royce-bulksms
Install requests
pip install requests
-
Add
roycebulksmsto your INSTALLED_APPS setting like thisINSTALLED_APPS = [ ... 'roycebulksms', ] -
Include the roycebulksms URLconf in your project urls. py like this
path('bulksms/', include('roycebulksms.urls')), -
Run
python manage.py migrateto create the BulkSms models. -
Start the development server and visit http://127.0.0.1:8000/admin/ (you'll need to be authenticated to access bulk sms UI).
Package setup
- Install this package
- Open A free account here
- Generate API key under API menu
- use our default sender ID
RoyceLtd
How to use this package
Using User interface
- Add Your API key and Sender Id under settings menu
- Under Bulk SMS click send to phone number. Eneter your phone number to test the integration
- All SMS sent by the system(both In UI and in Views) will be under Outbox menu
Sending from a View
from roycebulksms.views import sendText
def index(request):
sendText('number',message,sender_id)
Example
from roycebulksms.views import sendText
def index(request):
res=sendText('0713727937','Hello from my App','RoyceLtd')
For support call/whatsapp 0713 727 937 email: developer@roycetechnologies.co.ke
Metadata
Release files for django-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 | |
|---|---|---|---|
| django-royce-bulksms-1.1.tar.gz | 35.9 kB | Details |
Release files / django-royce-bulksms-1.1.tar.gz
| Download URL | django-royce-bulksms-1.1.tar.gz |
|---|---|
| Size | 35.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d149aa29e7953cab7a03fc02580885a29db04982a990c9a18e54212904b2623b
|
|
BLAKE2b-256 checksum How to use checksums |
cca187b088b225365fe48c715afa52a6fcd426df6b9f7e462ab6b4fc06f13278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.1
|