Live Badge when YouTube Stream Starts

Hey guys,

Looking to see if anyone has info on this. I want to have a live badge on my site that changes from “offline” to “live now” when they are live streaming on YouTube. Has anyone worked with the YouTube API to do something similar?

Live Link

Thanks!
Daniel