public static Tab FetchTab(int tabIndex, League league)
 {
     string jsonData = WebClinet.DownloadString(string.Format(STASHURL, league.Name, tabIndex));
     Stash stash = JsonConvert.DeserializeObject<Stash>(jsonData);
     Tab tab = stash.Tabs.FirstOrDefault(x => x.Index == tabIndex);
     tab.Items = stash.Items;
     return tab;
 }
 public static async Task<Tab> FetchTabAsync(int tabIndex, League league)
 {
     while (WebClinet.IsBusy) { }
     string jsonData = await WebClinet.DownloadStringTaskAsync(new Uri(string.Format(STASHURL, league.Name, tabIndex)));
     Stash stash = JsonConvert.DeserializeObject<Stash>(jsonData);
     Tab tab = stash.Tabs.FirstOrDefault(x => x.Index == tabIndex);
     tab.Items = stash.Items;
     return tab;
 }
 public static List<Tab> FetchTabs(League league)
 {
     string jsonData = WebClinet.DownloadString(string.Format(STASHURL, league.Name, 0));
     if (jsonData != "false")
     {
         Stash stash = JsonConvert.DeserializeObject<Stash>(jsonData);
         List<Tab> tabs = stash.Tabs;
         tabs.ForEach(x => x.League = league);
         return tabs;
     }
     return new List<Tab>();
 }