Thank you! I was just thinking "how do I get this to display in Waybar", and now I don't have to spend time working on it.
EDIT: this is particularly timely because the UK Met Office has recently announced the retirement of the API I was previously using: https://www.metoffice.gov.uk/services/data/datapoint/datapoi...