static void Main(string[] args) { var weatherMan = new WeatherMan(); weatherMan.Location = "2357024"; var weather = weatherMan.getWeather(); Console.WriteLine(weather.Temperature + " " + weather.Condition); }
public APIGatewayProxyResponse Get(APIGatewayProxyRequest request, ILambdaContext context) { var weatherMan = new WeatherMan(); weatherMan.Location = "2357024"; weatherMan.DayIndex = 1; var weather = weatherMan.getWeather(); return(CreateResponse(weather)); }