Compare commits

..

1 Commits

Author SHA1 Message Date
ca87eba738 Chatbot_v0.8.1Beta/MainWindow.xaml.cs aktualisiert
api key raus genommen
2025-05-07 10:12:13 +02:00

View File

@@ -212,7 +212,7 @@ namespace Chatbot_WPF_Projekt
//mehtohde für die wetter Api
private async Task<string> GetWeatherAsync(string city)
{
string apiKey = "d3348e2e2c9dba104f58d7d44f6f623e";
string apiKey = "";
string url = $"https://api.openweathermap.org/data/2.5/weather?q={Uri.EscapeDataString(city)}&units=metric&lang=de&appid={apiKey}";
using HttpClient client = new HttpClient();