Beispiel #1
0
        public TeamWeekInfo GetTeamInfo(long teamId, int week)
        {
            string url      = string.Format(m_TeamInfoUrl, teamId, week);
            string teamJson = DownloadString(url);

            return(TeamWeekInfo.FromJson(teamJson));
        }
Beispiel #2
0
 public static string ToJson(this TeamWeekInfo self) => JsonConvert.SerializeObject(self, TeamConverter.Settings);