November 8

WeatherBlox Continues To Grow

Back in July, you may have heard about the exciting new WeatherBlox product that we launched. Initially, we released a wide variety of views and layouts that you could easily integrate into your web applications. While we made sure to incorporate the most commonly used weather details into our initial release, we’ve decided to give you more options by expanding our WeatherBlox layouts.

Hourly Forecast Layout

The HourlyForecast layout allows you to easily integrate the hourly forecast into a full page for your users. By default, this layout will show you the remaining hours for today at the viewed location. You can simply create the new WeatherBlox layout with the appropriate constructor and a request object:

You should now see a WxBlox layout that looks like this:

Normals Layout

The Normals WeatherBlox layout pulls data from the /normals endpoint to display climate normals for a given location. A few data points we capture in this WeatherBlox layout include: temperature, precipitation, and degree days. Another unique feature this layout offers is the ability to pull data for any month of the year. For example, let’s say we want to view the normals for Boulder, CO in the month of February. We can do that by passing the   option in our view configuration and then the location name in the request object:

Which renders something like this:

normals wxblox layoutSunMoon Layout

The SunMoon WeatherBlox layout taps into the /sunmoon endpoint for a clean look at what’s happening in the sky. When will the sun rise? What phase is the moon currently in? The SunMoon layout has your back. Just a few keystrokes can get you an entire month’s worth of sun and moon data:

And just like magic, you’re able to pinpoint the last day of your favorite moon phase which, of course, is waxing gibbous:

sunmoon wxblox layoutCalendar Layout

Lastly, we’ve created a powerful Calendar WeatherBlox layout. With the Calendar layout, you’ll have a unique display of archived observations, current conditions, forecast, and normals weather data all neatly packed into a single calendar layout. With all this data moving around it must be complicated to setup, right? Not at all using WeatherBlox. Just like the previous WeatherBlox layouts we looked at above, this configuration is simple and easy:

Which would return your weather calendar:

calendar weatherblox layoutsNow that you’ve read all about the new WeatherBlox layouts, sign up for an API key with our free developer trial and start coding!

Leave a Reply

Your email address will not be published. Required fields are marked *