Aeris WeatherBlox

Aeris WeatherBlox is an exciting service that allows you to quickly add highly customizable weather content to your website.  WeatherBlox is a library of weather components that can be used as individual weather snippets or combined to create complete weather pages. Since WeatherBlox support responsive design, these are perfect for both desktop and mobile web applications.

Follow our Getting Started guide to quickly add WeatherBlox to your site today!

Requirements + Compatibility

  • Requires an active AerisWeather subcription to the Aeris API (and AMP for displaying maps)
  • Compatible with modern browsers
  • Responsive design for display on desktop and mobile devices

Integration Example

As an example of how easily WeatherBlox can add weather content to your site, the following code can be used to add a full interactive weather page to your website (using your Aeris account's access keys):

JavaScript

<link rel="stylesheet" href="https://cdn.aerisapi.com/wxblox/aeris-wxblox.css">
<script src="https://cdn.aerisapi.com/wxblox/aeris-wxblox.min.js"></script>
<div id="widget" class="aeris-wrapper"></div>
<script>  
  Aeris.wxblox.setAccess('CLIENT_ID', 'CLIENT_SECRET');
  var view = new Aeris.wxblox.layouts.local.Main('#widget');  
  view.load({
    p: 'minneapolis,mn'
  });
</script>