Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Wrapper For Easily Gathering Weather Data From Free API

  •  
  •  
  •  
  •  
  •  

Weather apps have been a staple in the App Store since the beginning, and from time to time, and previously I mentioned a guide on how to get real-time weather data using the Google Weather API which no longer operates.

Here’s a wrapper for a newer free weather API called the OpenWeatherMap. OpenWeatherMap allows you to gather current weather, along with 5 and 14 day weather forecasters, and a number of weather maps – for free.

Adrian Bak has released an iOS OpenWeatherMap wrapper called OpenWeatherMapAPI that makes it very easy to gather current weather and forecasts for a specific city or coordinate.

Here’s an image showing the example project included with OpenWeatherMapAPI in action:

OpenWeatherMapAPI

You can find OpenWeatherMapAPI on Github here, and get your API key for OpenWeatherMap from the official site here.

You will need to use Cocoapods to install all dependencies for the OpenWeatherMapAPI.

A nice easy way to gather weather data.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments