Wake up everyday on the positive note and let the first thing your mind see is something that'll get you pumped and out of bed ready to attack the day!
Technologies & Tools Utilized: Python, Twilio API, other RESTful API. This application creates automated scheduled text messages to opted in users at 7:00AM every day. These text messages are daily quotes that are being fetched from a free third-party api full of collections of inspirational quotes and uses Twilio's API to allow messaging between the server and the users phone.
- I started off by importing the
Request
library for Python to start making API calls. - I linked my Twilio account data such as
account_sid
andauth_token
to allow me to start sending text messages to verified phone accounts. - I used the
random
library to fetch one random quote from the API and use that data to send it to users.
- This was my first project I've built in Python and it was a lot of fun learning the syntax and finally having a chance to integrate Twilio into a project. I learnt a ton in a short amount of time building this project such as fetching data from a third-party api in python, using the
random
library, integrating Twilio and setting up automated task.
- Clone repository
pip install request, twilio, schedule
- Create or link your Twilio account and fill in your
account_sid
andauth_token
- Add in your Twilio number and the targeted number you would like to have the message sent to.
- Create a paid Twilio account
- Integrate a frontend for users to register their number into a database that will be used for allowing multi-user SMS. (Currently twilio's free account only lets you set up one number)
Chitchat - Messaging App
|
iMovie Reviews
|
T&K Nigerian Restaurant
|