WeatherAppMeteo is a .NET 9 console application that retrieves current weather data for any city using the Open-Meteo APIs.
- Search for cities by name
- Display current temperature, wind speed, wind direction, weather code, and time
- Integrates Open-Meteo geocoding and weather forecast APIs
This project requires a Google Cloud Service Account credentials file (credentials.json) to connect with the Google Sheets API.
- Create a new Service Account in your Google Cloud Console.
- Download the
credentials.jsonfile for that service account. - Place the file in the root folder of the project (or provide a path via environment variable).
- Do not commit this file to GitHub. It should be listed in
.gitignore.
dotnet build
dotnet run- Start the application.
- Enter the desired city name.
- View the displayed weather details.
Program.cs— Main application logicModels.cs— Data models for API responsesdemo.png— Application screenshot
This project is licensed under the MIT License.
