April 2018
Intermediate to advanced
248 pages
5h 31m
English
As we mentioned earlier, apart from temperature and humidity, we will measure wind speed, atmospheric pressure, and sunrise and sunset times using free and open source weather APIs.
Quite a few weather APIs are available for free. We will use the OpenWeatherMap API, which is easy to use and requires just a simple registration on their website to get started. It provides a REST-based API endpoint to get the weather data in JSON format. As input parameters, we need to provide a city ID, which is provided on the website itself, and APPID, which you will get after registration.
Let's go through the registration process and see how it works:
Read now
Unlock full access