Hi All. Many years ago, I built a weather skin that scraped the weather information page for a specific location, at the Environment Canada website (https://weather.gc.ca/). It worked great, but I got tired of updating the skin every time the format/layout of the site was updated, and as a result I've just let it stay broken for a couple of years now.
Looking around the forum, it seems to me that most of the weather skins are using the API from weather.com. But I was wondering if anyone else had tried to use the Environment Canada website for a weather skin. Way back when I built mine, there was no public API available, so scraping was the only way. But things have changed greatly. [In fact, Environment Canada has long ago released an app for phones.] So I see that now there is a public API available, and there is documentation for it at https://api.weather.gc.ca/ and https://api.weather.gc.ca/openapi?f=html .
The thing is, I'm not a web developer, and that API is pretty much all Greek to me! So my question for you seasoned Rainmeter veterans is this: Is Rainmeter capable of using that API (I suppose in the same way it uses the weather.com API), and is developing such a skin of interest to any other (probably Canadian) Rainmeter users?
Looking around the forum, it seems to me that most of the weather skins are using the API from weather.com. But I was wondering if anyone else had tried to use the Environment Canada website for a weather skin. Way back when I built mine, there was no public API available, so scraping was the only way. But things have changed greatly. [In fact, Environment Canada has long ago released an app for phones.] So I see that now there is a public API available, and there is documentation for it at https://api.weather.gc.ca/ and https://api.weather.gc.ca/openapi?f=html .
The thing is, I'm not a web developer, and that API is pretty much all Greek to me! So my question for you seasoned Rainmeter veterans is this: Is Rainmeter capable of using that API (I suppose in the same way it uses the weather.com API), and is developing such a skin of interest to any other (probably Canadian) Rainmeter users?
Statistics: Posted by qwerky — August 19th, 2024, 9:08 pm — Replies 4 — Views 239