Page 1 of 1

Programming the Weather Underground API?

Posted: Fri Oct 30, 2020 5:34 am
by Fangbeast
Has anyone done any programming for the Weather Underground API?

Just (Finally!) got a new weather station to replace the one cooked by the OZ sun and then had a look at the API involved and keeled over in fright:):)

Got it connected to the Weather Underground and I can copy and paste the daily data but it will become a chore very soon.

Re: Programming the Weather Underground API?

Posted: Thu Nov 05, 2020 12:53 pm
by Fangbeast
Not as bad as I thought it would be. I can get the daily weather for any particular date via the below query.

https://api.weather.com/v2/pws/history/ ... EvaYoKeyIz

The API doesn't seem to support monthly queries but getting all daily data isn't a problem and the responses are all JSON so that is a big help.

Then I just put acceptable data into the SQLITE database based on time and date to reject duplicates if I add this to the database more than once a day.