Getting the current weather forecast
Once we structure our web application, we will configure Forecast.io. Forecast.io is a web API that returns weather forecasts of your exact location, and it updates them by the minute. The API has stunning maps, weather animations, temperature unit options, forecast lines, and more.
We will use this API to integrate global weather measurements with our local measurements.
To do so, first go to the following link:
Then, look for the Forecast API link at the bottom of the page. It should be under the Developers section of the footer:
You need to create your own Forecast.io account. You can do so by clicking on the Register button on the top right-hand side portion of the page. It will take you to the registration page where you need to provide an e-mail address and a strong password.
Then, you will be required to get an API key, which will be displayed in the Forecast.io interface:
Write this down somewhere, as you will need it soon.
We will...