use-the-twilio-api
MLH Local Hack Day: Build 2021 Day 3 Challenge: Use the Twilio API
Task Statement
Using Twilio opens a ton of opportunities for applications to send messages. Try building anything with a Twilio API and submit on Day 3 Devpost!
Submission
Attendance Bot
A command-line tool that scrapes live chat from youtube and messages you when a link is posted. With the entire country of India (and most of the world) being under lockdown due to Covid-19, universities have had to resort to online classes to complete whatever is left in the school year. My particular uni decided to settle on YT Live as the perfect platform for conducting these classes, and attendance is to be marked by filling in a Google form within 3 minutes of it being posted in the live chat. Under these trying circumstances, the semester exams are at risk of being cancelled, and as a result, attendance is more important than ever. We engineers live for attendance, but who has the time to attend five hours of classes a day when we've got much more important things to do? (Read: gaming and attending MLH Hackathons!) This tool, given a YouTube Live link, gets the source of the iframe in which the YT Live chat is hidden, then scrapes it and looks for a link. When a link is found, it uses a Discord webhook and Twilio for Python to notify pre-specified parties.

Log in or sign up for Devpost to join the conversation.