public static async Task <T> GetCountryInfo(string countryCode) { var url = string.Format("https://date.nager.at/Api/v2/CountryInfo?countryCode={0}", countryCode); var response = await ApiRequestWrapper <T> .Get(url); return(response); }
public static async Task <T> GetCountryTimezones(string countryCode) { var url = string.Format("https://restcountries.eu/rest/v2/alpha/{0}", countryCode); var response = await ApiRequestWrapper <T> .Get(url); return(response); }
public static async Task <T> GetPublicHolidays(long year, string countryCode) { var url = string.Format("https://date.nager.at/api/v2/publicholidays/{0}/{1}", year, countryCode); var response = await ApiRequestWrapper <T> .Get(url); return(response); }