Coder Social home page Coder Social logo

ciscodevnet / tropo-openstreetmap Goto Github PK

View Code? Open in Web Editor NEW
3.0 8.0 0.0 1 KB

Small example showing use of Tropo WebAPI (Python) and OpenStreetMap's Overpass API to translate an SMS address to a set of lattitude longitude coordinates

Python 100.00%

tropo-openstreetmap's Introduction

tropo-openstreetmap

A small example showing use of Tropo WebAPI (Python) and OpenStreetMap's Overpass API to translate an SMS address to a set of lattitude longitude coordinates

Requirements:

  • Tropo developer account (free): tropo.com
  • Tropo application defined (Web/HTTP API) with inbound SMS phone number provisioned
  • Internet reachable web server with WSGI environment provisioned (tested on Ubuntu 15.10, Apache 2.4.12, python 2.7.6, libapache2-mod-wsgi 3.4.4)
  • Tropo Python help libraries tropo.py, tropo.pyc: https://github.com/tropo/tropo-webapi-python

How to Run the Code

  • Sign-in and create a new application at Tropo.com
  • Choose a unique name for the app, and choose 'Web (HTTP) API' as the Type
  • Enter a URL pointing to an internet-reachable, WSGI enabled web server and the Tropo-OSM.wsgi script in this project
  • Select a Phone Number/Region for the app's SMS phone number and click Create app
  • Ensure tropo.py and tropy.pyc from the Tropo Python SDK library and present in the directory with Tropo-OSM.wsgi
  • Send an SMS to the Tropo app number, consisting of a valid, full street address
  • If all goes well, OpenStreetMap should return the lattitude and longitude corresponding to the address

tropo-openstreetmap's People

Contributors

dstaudt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.