Libraries and examples

We collected and reviewed the most usefull libraries and examples on our Awesome OpenWeather page.

14,000+ repositories on GitHub

GitHub library of codes and scripts operating with OpenWeatherMap API

View solutions

Google Weather-Based Campaign Management with OpenWeather API

Demand for certain products and services varies greatly depending on the weather. For example, users are much more likely to search for information on amusement parks on a hot, sunny day than if it's cold and raining. An amusement park company may want to increase their bids when the weather is nice, but doing so every day would require a lot of manual work. With AdWords scripts, however, it's possible to programmatically fetch weather information and adjust bids in a matter of minutes.

This script uses Google Spreadsheets to store the list of campaigns and their associated locations. A call to the OpenWeatherMap API is made for each location and weather conditions are calculated using some basic rules. If a rule evaluates to true, then a corresponding location bid multiplier is applied to the location targeting for the campaign.

More detailes with source code

Libraries & Examples based on OpenWeather

Google Maps JavaScript API

Google has closed their Weather and Cloud solutions since 4th of June 2015 and recommended to use OpenWeatherMap with the Google Maps JavaScript API as an alternative solution.

View on Github Open manual


OpenWeather current weather data in Mozilla's IoT project

The WebThings Gateway for home automation: Monitor and control all your smart home devices via a unified web interface.

Open Website

Weather add-on for the gateway allows users to select from OpenWeatherMap or some other providers.

View on Github


Ubuntu phone

OpenWeatherMap provides API for Ubuntu phone core weather app.

Ubuntu My Weather Indicator

Open website

Ubuntu Unity OpenWeatherMap Scope

Open website


Android weather app: JSON, HTTP and Openweathermap

In this post we want to describe how to create a weather app for Android that gives current weather information. This app will use JSON, HTTP connection and AsyncTask to get this information.

Weather Notification

Simple application which displays the air temperature and other weather conditions in the Android notification bar. The air temperature is always visible like a system clock.

See on Bitbucket


Leaflet plugin from ScanEx to show weather in main cities

View on Github

OpenWeatherMap for Leaflet based maps

A JavaScript library for including OpenWeatherMap's layers and OWM's current city/station data in leaflet based maps without hassle.

View on Github

Leaflet providers

Leaflet-providers provides tile layers from different providers, including OpenStreetMap, OpenWeatherMap and others.

View on Github


OpenWeatherMap JSON API client library in Java

Java library to retrieve weather information and forecasts from Open Weather Map

View on Github


OWM JAPIs lets you develop weather-aware applications for Java and Android platforms in minimum time using OWM JAPIs, an easy-to-use, detailed and documented weather APIs' wrapper library for retrieving weather data from You can easily retrieve and use weather data in your applications using this library.

OWM JAPIs allows you to fetch weather data in only 3-5 lines of code (excluding any other/skeleton code, of course). You can develop applications and services for multiple platforms using this library, such as Windows, Mac OS X, Linux, and Android.

View on Github

Go (golang)

OpenWeatherMap Go API

Go (golang) library for use with's API

See library



Weather.js fetches data from and makes querying all kinds of weather related information easy.

JavaScript libraries for OpenStreetMap applications

View on Github

Weather Display

View on Github


Drupal OpenLayers Open Weather Map

Provides default OpenWeatherMap layers and a new layer type to display weather forecast and weather stations all around the globe.

See on the website

WordPress Awesome Weather Widget

This plugin allows you to easily add super clean (and awesome) weather widgets to your site.

View widget

WordPress HD Weather Widget by The Waypoint

This plugin uses HD 331dpi images, in beautiful responsive cirlces, to display weather for your location. Images included in this package now. The plugin parses data from the OWM api to display information. The HD background image changes, based on the 'condition' outside, better named here, the "Feels". We have provided one Feel in the initial v.1. Use the documentation to xref the api condition statements, against file names. The images get loaded via css, so they don't interfere with layered objects on the site.

View plugin

WordPress WPCloudy Plugin

WP Cloudy is a powerful weather plugin for WordPress, based on OpenWeatherMap API, using Custom Post Types and shortcodes, and much more.

View plugin

Raspberry Pi


Turn Raspberry Pi into temperature and humidity logging station with DHT11 sensor

View on Github



PyOWM is a client Python wrapper library for the OpenWeatherMap. It allows quick and easy consumption of OWM weather data (either observations and forecast) from Python applications via a simple object model. No additional libraries are requested: only the Python 2.6/2.7 standard library modules. PyOWM currently supports version 2.5 of the OWM API.

View on Github View on YouTube


This guide gives brief instructions on how to use pywws with some other weather services and software.

See the docs



Php api to parse weather data from

View on Github

Apache Camel

Weather Component

Component is used for polling weather information from Open Weather Map - a site that provides free global weather and forecast information. The information is returned as a json String object.

See on the website



Weather-Map is a desktop application that provides free weather data. Weather-Map wide range of weather data - map with current weather, quantity of precipitation, wind speed, clouds cover, sea Level Pressure contour maps, temperature, snow precipitation, data from weather stations, data from radars, data for cities. Weather data is received from OpenWeatherMap api.

View on Github

Mobile applications

The Open Weather Map app with Glob3 Mobile

The power of Open Data + Glob3 Mobile.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.