public async Task OpenWeatherServiceTest()
 {
     var openWeatherService = new OpenWeatherService();
     await openWeatherService.HttpRequestData("Rotterdam");
     var currentWeather = openWeatherService.GetData();
     Assert.IsNotNull(currentWeather);
 }
 public async void showWeather()
 {
     var openWeatherService = new OpenWeatherService();
     await openWeatherService.HttpRequestData("Rotterdam");
     var currentWeather = openWeatherService.GetData();
     var temperature = currentWeather.temp;
 }
 /// <summary>
 /// Gets the current weather
 /// </summary>
 /// <param name="userLocation">The location of the user</param>
 /// <returns>Weather details in a OpenWeatherModel</returns>
 public static async Task<OpenWeatherModel> GetCurrentWeather(string userLocation)
 {
     var openWeatherService = new OpenWeatherService();
     await openWeatherService.HttpRequestData(userLocation);
     return openWeatherService.GetData();
 }