It seems like in the past few years there has been more and more reasons the flag should be at half mast. To the point where I couldn’t keep up manually and was using a script to call mast.today to determine what it should be an display the data on my LED matrix.
Well today I decided that it was time for an integration, it will give you not only the status of the flag in the USA, and/or your State, but also the reason for the flag to be at half mast.
I think there is a working one for those outside of the USA.
although looking through it I see GB isn’t listed as supported. I may look at expanding this integration if I can find a free api that does more countries.
I know there are a few api options, I should have an update today with at the very least GB
I have done a lot of digging and found that Britain, and the UK in general it seems there is no public api that gives this data.
I am now working on creating said API by parsing RSS feeds because I’m quite surprised that one does not exist.
When I get that complete I will update the integration to use it as well.