Current Weather API
Note
Since this class is delivered to an international audience and some students may have limited access to stream long videos, I will adopt a lecture format that moves quickly and shortens the overall length and download size of the video clip. You may have to pause the video frequently while watching.
Overview
In this lab we will access current weather information from Open Weather Maps using an API.
- API
- try - catch
- async
- await
Resource Links
- Using the Fetch API.
- Call for Current Weather Data from Open Weather Maps.
- The path to a weather icon from Open Weather Maps.
- Discover coordinates or search by latitude & longitude by Google.
How to open a browser window without plugins
If you are using Chrome, open a "New Incognito Window" for the live view of your page as you build.
If you are using Firefox or Safari or Opera, open a "New Private Window" for the live view of your page as you build.
If you are using Edge, open a "New InPrivate" window for the live view of your page as you build.