Skip to content

API has ability to send SMS to multiple 🇰🇪 Kenya phone numbers. Supported service providers include Safaricom, Airtel Kenya & Telcom Kenya.

pmutua/sms-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messaging Service

A messaging service that can be used to send messages to different service providers. Developed the API without using a framework.

1; Requirements

python>=3.6
gunicorn==19.9.0
WebOb==1.8.5
parse==1.12.1
pycodestyle==2.5.0
requests

SetUp

Clone project git clone https://github.com/pmutua/sms-service.git

Make sure you have already installed virtualenv

cd into directory then run:

virtualenv -p python3 env

source env/bin/activate

pip install -r requirements.txt

Then run: gunicorn app:app

Making a Request

1;Postman Collection The postman collection can be found here

2;Making requests

Sending SMS

Example:

POST https://sms-serv.herokuapp.com/api/send_sms/

HEADERS Content-Typeapplication/json

BODY raw: { "msg":"Text containing message", "phoneNumber":["+2547XXXXXX"] }

About

API has ability to send SMS to multiple 🇰🇪 Kenya phone numbers. Supported service providers include Safaricom, Airtel Kenya & Telcom Kenya.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages