I developed an Android weather app based on Openweathermap and you can look at my other posts to know more how to develop in Android this app.

All these APIs are free to use, you have to create a dev key so that you can make requests.

Yahoo! Weather

Yahoo! Weather is another great weather provider that is also very simple to use even if it gives less information than Openweathermap. Using Yahoo! Weather, the app can get current weather information and forecast. The API are based on JSON or on XML, so the developer can choose which one to use.

It is free service as long as you use your app for not commercial use. Read the Yahoo! Weather policy to know more. If you like to use this provider in your app, you can look at my post describing how to develop an Android app with Yahoo! weather.

Weather Underground

Weather Underground API is a great weather provider that offers lots of API endpoints to get detailed information. The Weather Underground API provides current weather and forecast. Moreover, you can retrieve historical data, hurricanes, astronomy data (like moon data) and so on.

It provides also radar images that can be displayed directly on the smartphone

To find the city, it is possible to use name pattern, geo-location.

The service is free as long as you do not make to many requests, so, in other words, if you use it as a developer to test the API it is ok otherwise you have to pay.

Forecast.Io

Forecast.io is another interesting weather provider that offers current weather information, forecast and hour by hour weather details.

It worths taking a look at because it is very easy to use and provides a set of libraries for different languages.

Finally, some words about showing weather conditions on a map like Google Maps. Personally, I used Openweathermap and it is quite easy to add weather tiles. If you are interested I wrote a post about how to add weather information to Google Maps.

There are many other weather providers but most of them have paid services and I did not have the chance to test them.


Like This Article? Read More From DZone

Api
api ,weather
Published at DZone with permission of Francesco Azzola , DZone MVB. See the original article here.
Yahoo weather api key
Opinions expressed by DZone contributors are their own.