Technical requirements
To complete this project, you need to have Visual Studio 2022 installed on your PC. For instructions on how to install the free Community Edition of Visual Studio 2022, refer to Chapter 1, Introduction to Blazor WebAssembly.
We will be using an external weather API to access the weather forecast data for our project. The API that we will be using is the OpenWeather One Call API
. This is a free API that is provided by OpenWeather
(https://openweathermap.org). To get started with this API, you need to create an account and obtain an API key. If you do not want to create an account, you can use the weather.json
file that we have provided in the GitHub repository for this chapter.
The source code for this chapter is available in the following GitHub repository: https://github.com/PacktPublishing/Blazor-WebAssembly-by-Example-Second-Edition/tree/main/Chapter06.
The code in action video is available here: TBD.