Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Responding to Text Messages - Twilio Python Server

Description

A python flask server that responses to text messages.

How it works

The flask server listens to request that are funneled through a secure tunnel - ngrok. It sends responses to depended on what was texted.

Step-by-step guide on how the set up the server, ngrok and connect it to Twilio by chatasweetie on the post:Twilio - 2 Ways of Sending Text Message

Technology Stack

Python, Flask, & ngrok

How to run Script locally

Create a virtual environment

$ virtualenv env
$ source env/bin/activate

Install the dependencies

$ pip install -r requirements.txt

Download ngrok

Run ngrok

$ ./ngrok http 5000

In another terminal, run script

$ python server.py

Note: The messaging functionality requires that you have a Twilio account and connecting ngrok to Twilio.

About the Developer

Jessica Dene Earley
Bio
Linkedin
Blog

About

A python flask server that responses to text messages

Resources

Releases

No releases published

Packages

No packages published

Languages