public TeamWeekInfo GetTeamInfo(long teamId, int week) { string url = string.Format(m_TeamInfoUrl, teamId, week); string teamJson = DownloadString(url); return(TeamWeekInfo.FromJson(teamJson)); }
public static string ToJson(this TeamWeekInfo self) => JsonConvert.SerializeObject(self, TeamConverter.Settings);