public static DailyAccuWeather GetCityAccuWeather(string i_City) { DailyAccuWeather forecast; s_CurrentURL = setCurrentURL(i_City); s_XMLDocument = getXmlDocument(s_CurrentURL); XmlNode xmlNode = s_XMLDocument.SelectSingleNode("weatherdata"); forecast = new DailyAccuWeather(xmlNode); return(forecast); }
public List <DayAccuWeather> GetDailyWeather(string i_City) { m_DailyWeather = AccuWeatherAPI.GetCityAccuWeather(i_City); return(m_DailyWeather.Forecast); }