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.
Programming the Weather Underground API?
- Fangbeast
- PureBasic Protozoa
- Posts: 4749
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Programming the Weather Underground API?
Amateur Radio, D-STAR/VK3HAF
- Fangbeast
- PureBasic Protozoa
- Posts: 4749
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: Programming the Weather Underground API?
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.
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.
Amateur Radio, D-STAR/VK3HAF