This project is inspired by the ability of Twilio to provide convenient virtual voice solutions.
What it does
This project is essentially a "radio server" that provides a range of services from playing music by mood to broadcasting news on coronavirus and business.
How I built it
We wrote the main skeleton of the project in Python. We leveraged the twilio voice and autopilot API to provide a service robot (using a telephone number 7176091092). Four main functions are provided: picking a song by the user's mood, picking a certain artist's song, getting coronavirus news updates, and getting latest business news. The umbrella is an IVR system built upon Twilio's voice API. The first two functions are implemented using the Twilio autopilot API: two separate autopilots are built to fulfill the function. The last two functions are implemented with Twilio voice, and we used scraping to get the up-to-date data.
Challenges I ran into
The main challenges we faced are: finding the most suitable Twilio API, building and training the autopilot, and finding the raw sources of our data (finding music and news)
Accomplishments that I'm proud of
What I learned
Through this project, we broadened our horizon and learned the basic usage of the APIs provided by Twilio. We saw the wide opportunity of applying this powerful set of API in a broad variety of contexts. We also strengthened our scraping skills.
What's next for flexible-radio
We plan to expand radio to a fuller coverage of the genres and artists for the song functions. We are also considering using the NLP API to search for songs dynamically on user's demand.
Note: for demo, try calling7176091092