Workshop 8: Exercise 3: Real Life Challenge: OpenWeatherMap API

Back to Workshop 8 index

Control elements

Select a city from the list:

Weatherdata goes here.

Exercise 3: Real Life Challenge: OpenWeatherMap API

OpenWeatherMap is a well known weather data provider online. It offers an API which allow developers to fetch data about weather. The documentation can be found here.

Your task is to write a Weather APP, which will display the weather information based on the users wishes. Notice, that you will need to sign up (its free) to get the API key, which allows you to use the service.

Sample call to the REST API could be like this: http://api.openweathermap.org/data/2.5/weather?q=Helsinki&units=metric&mode=JSON&APPID=ff64c247a136f706923d1ee0d55d71e2 . Click to see the response.