Reminds me of the code I had on Angelic Layer MUSH. I had a CRON running that'd store data into SQL after grabbing from weather underground. As Angelic Layer MUSH was 2 years behind real-world, and weather underground had historical METAR data, I could grab stuff form the Tokyo Airport.
Don't think they had an API at the time. And just reading their pages was a bit annoying.