Get Smarter Saturday

This was a project built for a twitch streamer to help with a segment called "Get Smarter Saturdays". The dashboard populates as links are sent in the chat.

Message parsing

check if the message contains the a youtube link. If it does extract the id of the video e.g. wound return h7uj5veY3YY. Then it is compared to a Set of all submitted videos. If there are no duplicates its added to the Set and gets passed to the dashboard population function alongside data about the person who submitted it.

Dashboard population

Call YouTube api get Thumbnail, video title, channel, video length etc. Pass all Youtube api data as well as the person who submitted the video into an object which is used to populate each row in the table.