Exemplo n.º 1
0
        public FantasyLeague GetLeague()
        {
            string url        = string.Format(m_LeagueUrl, LeagueId);
            string leagueJson = DownloadString(url);

            return(FantasyLeague.FromJson(leagueJson));
        }
Exemplo n.º 2
0
 public static string ToJson(this FantasyLeague self) => JsonConvert.SerializeObject(self, Converter.Settings);