Skip to content

timleunghk/WeatherAppMeteo_GoogleSheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherAppMeteo

WeatherAppMeteo is a .NET 9 console application that retrieves current weather data for any city using the Open-Meteo APIs.

Demo Screenshot

Features

  • Search for cities by name
  • Display current temperature, wind speed, wind direction, weather code, and time
  • Integrates Open-Meteo geocoding and weather forecast APIs

Google Cloud Credentials

This project requires a Google Cloud Service Account credentials file (credentials.json) to connect with the Google Sheets API.

  1. Create a new Service Account in your Google Cloud Console.
  2. Download the credentials.json file for that service account.
  3. Place the file in the root folder of the project (or provide a path via environment variable).
  4. Do not commit this file to GitHub. It should be listed in .gitignore.

⚠️ Reminder: If you accidentally push your credentials to a public repository, revoke that key immediately in the Google Cloud Console and generate a new one.

Getting Started

Prerequisites

Build & Run

dotnet build
dotnet run

How to Use

  1. Start the application.
  2. Enter the desired city name.
  3. View the displayed weather details.

Project Files

  • Program.cs — Main application logic
  • Models.cs — Data models for API responses
  • demo.png — Application screenshot

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages