Skip to content

Developed an application that sends daily inspirational quotes consumed from a collection of quotes provided by a third-party api. One quote is randomly selected & sent automatically every morning

Notifications You must be signed in to change notification settings

ssaryonjr/Python-Daily-Quote-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Daily Quote Inspiration - Start your day right!

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!

How It's made:

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 and auth_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.

Lessons Learned

  • 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.

Installation:

  1. Clone repository
  2. pip install request, twilio, schedule
  3. Create or link your Twilio account and fill in your account_sid and auth_token
  4. Add in your Twilio number and the targeted number you would like to have the message sent to.

Future Optimizations:

  • 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)

More Projects

Chitchat - Messaging App
iMovie Reviews
T&K Nigerian Restaurant
Portfolio

About

Developed an application that sends daily inspirational quotes consumed from a collection of quotes provided by a third-party api. One quote is randomly selected & sent automatically every morning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages