private async Task TestWeatherAPI() { int[] results = await RealWeatherCall.GetRealWeather(); Console.WriteLine(results); Console.ReadLine(); }
public async void SetRealWeather() { int[] results = await RealWeatherCall.GetRealWeather(); int cloudPercentage = results[0]; temperature = ConvertKelvinToFahrenheit(results[1]); int humidity = results[2]; SetRealWeatherEffect(cloudPercentage, humidity); }