May 21

Introducing the AerisWeather Python SDK

It’s an exciting time to be working in the loft studios of AerisWeather development. The powerful Aeris Maps Platform has become a leading weather map service. Our radar coverage has expanded to new areas of the globe like Australia and South Korea. Aeris WeatherBlox, the service that enables web devs to easily add weather content to their sites are always adding new blox. We’re constantly pushing updates to the iOS and Android toolkits to keep them up to date with the fast-moving mobile scene.

Here at AerisWeather we sometimes say “the weather never sleeps”, and for the toolkit team that means there are always more ways to help our customers utilize the weather data they need. So without further adieu, we’re very excited to introduce the newest member of the toolkit lineup: The AerisWeather Python SDK!

Hello Python, Welcome to the AerisWeather Family!

The AerisWeather Python SDK is the latest coding toolkit from AerisWeather. As with all of our toolkits, the goal is to make it easier to get weather data from our API into your project. While working towards that goal with the Python SDK, we did our best to also make it as “Pythonic” as possible. A couple of our favorite concepts of Python (from the Zen of Python
– PEP20) are:

  • Simple is better than complex.
  • Readability counts.
  • If the implementation is hard to explain, it’s a bad idea.

Requirements

  • Python v3.6 or higher
  • An active AerisWeather API subscription

Don’t have an active AerisWeather API client account? You can sign up for a free developer trial.

Simple is Better Than Complex

Let’s check out an example using the AerisWeather Python library. In the following code snippet, we’ll create an aerisweather object and do a simple observations request:

Easy, right? That’s all there is to it! Here’s a little more complex request, this time it’s to the forecasts endpoint with some optimization so that we only receive the data we need from the API:

Of course, these are just simple examples, so for more details and real-life examples check out the AerisWeather Python SDK homepage. There you’ll find information on how to set up your project, a walkthrough of the basic concepts and lots more. We have topics that cover doing custom data requests, batch requests and examples of it all.

Thanks for checking out the AerisWeather Python SDK. We hope you find it useful, and enjoy using it as much as we enjoyed creating it!

The AerisWeather Python Team

Resources

Share this post:

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.