Chatbot_v0.8.1Beta/MainWindow.xaml.cs aktualisiert
api key raus genommen
This commit is contained in:
parent
c9a57e431a
commit
ca87eba738
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user