I created a Microsoft .Net 6.0 comsole application that calls the OpenWeatherMap API to check the current weather forecast by entering any zipcode! Here are the steps I took below to make this weather application happen:
- I created an OpenWeatherMap account to get a free API Key
- Add the NewtonSoft.Json Nuget Package to my Console App
- Used C# to convert the CURRENT weather for the City you specify in degrees fahrenheit as the API provided Kelvin
- Creatively displayed & organized the response
An example of the current weather API response is below:
Using the code below:
Thanks for taking a look! Feel free to follow/connect with me on GitHub or LinkedIn (www.linkedin.com/in/nancylee7)!