Responding to Text Messages - Twilio Python Server
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.
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
$ ./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.