Giter VIP home page Giter VIP logo

smssync-python-django-webservice's Introduction

*** About ***
name: Python/Django SMSSync webservice
website: smssync.ushahidi.com
description:A sample Python/Django application to demonstrate how to write a webservice to successfully communicate with SMSSync.
version: 1.11
requires: Python 2.7.2 and Django 1.3.1 
author : Caine Wanjau [email protected]

This webservice has been tested on a computer running Python 2.7.2 and Django 1.3.1

Before using this software, please familarise yourself with the SMSsync documentation at smssync.ushahidi.com/doc

Installation Instructions:

1: Copy this folder into your computer:

2: Open Command Prompt/Terminal and Change to the top level directory of the application and run the following command:
$ pyhton manage.py runserver

3: Open your browser and run http://localhost:8000 [Your port number may be different depending on your settings]

4: On the home page you will see a form. This form simulates the data that would be sent from a phone running SMSsync.

5: Fill in the data as appropriate and sumbit your form. If the data has been submitted correctly you will get the following response:
{"payload": {"success": "true"}}

6: When using the webservice from the SMSsync Gateway, set your callback URL to http:// yourdomain.com/sms

All messages that are sent are logged in a text file. To view the messages, point your browser to yourdomain.com/media/log.txt

smssync-python-django-webservice's People

Contributors

cwanjau avatar

Watchers

Rahman Azhar avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.