For this project, I used Airtable to create a spreadsheet of travel destinations, including name, location, and an image URL. Set up the Airtable baseĪirtable is a useful service for collaboration, as well as managing data and spreadsheets. The next section will cover how to get these values. "XXXXXXXXXXXXXXXX" are simply placeholder values for the Airtable base ID and API Key. Your project environment is now set up, but you must first configure your environmental variables in the. Open the terminal on your computer, navigate to a suitable directory for your project, type in the following command, and hit enter. First, you should create a parent directory that holds the project. A personal phone number to test this project.īefore you can dive into the code, you will need to set up the project environment on your computer.If you aren't familiar with using ngrok, learn more about using ngrok here. Sign up for a free account and learn how to install ngrok. ngrok is a useful tool for connecting your local server to a public URL. Learn how to search for and buy a Twilio phone number here. After having an account, you will need to obtain a Twilio phone number. If you haven’t yet, sign up for a free Twilio trial. Python 3.6 or higher installed on your machine.To continue with this tutorial, you will need: After messaging the bot, the bot will reply with an image and location of your next travel destination. In this tutorial, you will use Twilio's Programmable Messaging API, Python, Flask, and Airtable to build a travel recommendation bot. Are you looking for your next travel destination, but can't decide on where to travel to? For National Anti-Boredom Month, consider building this travel recommendation bot to make the decision for you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |