In previous articles I’ve discussed the WeatherBug API, while sharing some great examples of people coming up with creative uses for the WeatherBug API during their own development process. Today, I came across a new example that I think really hits the nail on the head. The video provided below shows you how one can use the WeatherBug API with something called Windows Forms.
So how does this work?
Using Microsoft Visual Studio, the creator of the above video demonstrates how he created a simple tool that would use the WeatherBug API’s alert data to send him an alert when critical weather conditions were taking place. The example application itself is a vanilla alert box that provides users with the following basic information.
Alert for: This space is reserved for the locality where the weather alert has been issued (town, region, etc).
Last updated: Here you’ll find the space where the last API update to this simple application will appear.
# of alerts: And finally, this is the space where you can see the number of alerts available. Pretty self-explanatory.
When the creator of this software clicks on “Get Update,” the API updates the application with the latest weather conditions as the command would suggest. It’s really fairly simple to get one’s mind around once you’ve had a chance to examine the basics.
The next step we see in the video is the developer clicking on File, then changing the ZIP code so he can test a new location. One thing that I found to be really neat is how this developer used Google to find a weather alert already in progress from another locale. From there, he took the affected ZIP code info and then entered it into the WinForms app. It took a few attempts to find the right location, but once he got the proper ZIP code in place, this developer managed to get an alert bubble to appear next to the clock. Outside of the bubble, the two alerts given are displayed within the app, easily read.
What I really enjoyed about this video is how easy it was to implement the API in with the functionality of the WinForms experience. It proves that the WeatherBug API is compatible with just about any kind or desktop or Web app programming a developer happens to be working with.
Getting the WeatherBug API for yourself
If you’d like to take a crack at using the WeatherBug API, the process couldn’t be easier. Just head on over to the WeatherBug API page and sign up for access. Once on the page, you’ll be presented with three choices: Personal, Commercial, and Mobile Device. Choose the option that best suits your needs and start developing your own weather app today!