An SMS bot that obtains information you want without the need for a strong network connection.
This program is an SMS bot built using Python and Twilio API [ https://www.twilio.com/ ], which allows you to send a Twilio phone number messages and get answers back. The Twilio library allows for you to send and receive messages, while Flask [ http://flask.pocoo.org/ ] allows your program to connect to a local server. Furthermore, Ngrok [ https://ngrok.com/ ] will connect your local host running program to the World Wide Web and will provide an http(s) address. Twilio will use this address to send you incoming messages with calls to the following APIs: Wikipedia [ https://pypi.org/project/wikipedia/ ], Open Weather Map [ https://openweathermap.org/api ], Wolfram Alpha [ https://products.wolframalpha.com/api/ ], and MapQuest [ https://developer.mapquest.com/ ].
source ENV/bin/activate
python3 run_applications.py
ngrok http ["insert port_number"]
Copy one of the http(s) forwarding addresses into your Twilio dashboard where it says "A MESSAGE COMES IN" and save the changes. Text your Twilio number with one of the following commands and you should get a response:
WIKI ["insert wikipedia request"]
WEATHER ["insert city name"]
WOLFRAM ["insert wolframalpha request"]
MAPQUEST ["insert locations request separated by new line"]