Exemplo n.º 1
0
        public Data GetLiveData(int year, string seasonType, int week)
        {
            Data data = new Data();

            SEASON_TYPES = new string[] { seasonType };
            YEARS = new int[] { year };
            WEEKS = new int[] { week };

            data.weeks = GetAllWeeks();
            data.matchups = GetAllMatchups(data.weeks);
            data.gamecenter = GetGameCenterData(data.weeks);
            return data;
        }
Exemplo n.º 2
0
        public Data GetLiveData()
        {
            Data data = new Data();

            SEASON_TYPES = new string[] { "PRE", "REG", "POS" };
            YEARS = new int[] { 2015 };
            WEEKS = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 };

            data.weeks = GetAllWeeks();
            data.matchups = GetAllMatchups(data.weeks);
            data.gamecenter = GetGameCenterData(data.weeks);
            return data;
        }