public void GetAllTeams() { var client = new FantasyNBAClient(); var response = client.TeamServices.GetAllTeams(); Assert.IsTrue(response.Count == 32); }
public void BoxScore() { var client = new FantasyNBAClient(); var response = client.BoxScoreServices.GetBoxScore("11814"); Assert.IsTrue(response.Count == 1); }
public void GetTeamSeasonStats() { var client = new FantasyNBAClient(); var response = client.OpponentSeasonServices.GetTeamSeasonStats("2016"); Assert.IsTrue(response.Count == 30); }
public void GetPlayerSeasonStatsbyTeam() { var client = new FantasyNBAClient(); var response = client.PlayerGameServices.GetPlayerSeasonStatsbyTeam("2016", "WAS"); Assert.IsTrue(response.Count == 17); }
public void GetStadiums() { var client = new FantasyNBAClient(); var response = client.StadiumsServices.GetStadiums(); Assert.IsTrue(response.Count == 29); }
public void GetTeamStatsAllowedbyPosition() { var client = new FantasyNBAClient(); var response = client.TeamSeasonServices.GetTeamStatsAllowedbyPosition("2017"); Assert.IsTrue(response.Count == 210); }
public void GetStandings() { var client = new FantasyNBAClient(); var response = client.StandingsServices.GetStandings("2017"); Assert.IsTrue(response.Count == 30); }
public void GetPlayerDetailsbyPlayerID() { var client = new FantasyNBAClient(); var response = client.PlayerServices.GetPlayerDetailsbyPlayerID("20000571"); Assert.IsTrue(response.Count == 1); }
public void NewsbyPlayer() { var client = new FantasyNBAClient(); var response = client.NewsServices.NewsbyPlayer("20000641"); Assert.IsTrue(response.Count == 2); }
public void PlayByPlay() { var client = new FantasyNBAClient(); var response = client.BoxScorePbpServices.GetPlayByPlay("11814"); Assert.IsTrue(response.Count == 1); }
public void GetPlayerDetailsbyFreeAgent() { var client = new FantasyNBAClient(); var response = client.PlayerServices.GetPlayerDetailsbyFreeAgent(); Assert.IsTrue(response.Count == 266); }
public void News() { var client = new FantasyNBAClient(); var response = client.NewsServices.GetNews(); Assert.IsTrue(response.Count == 25); }
public void GetCurrentSeason() { var client = new FantasyNBAClient(); var response = client.SeasonServices.GetCurrentSeason(); Assert.IsTrue(response.Count == 1); }
public void GetSchedules() { var client = new FantasyNBAClient(); var response = client.GameServices.GetSchedules("2018"); Assert.IsTrue(response.Count == 1230); }
public void GetPlayersbyTeam() { var client = new FantasyNBAClient(); var response = client.PlayerServices.GetPlayersbyTeam("WAS"); Assert.IsTrue(response.Count == 15); }
public void GetPlayerSeasonStatsByPlayer() { var client = new FantasyNBAClient(); var response = client.PlayerGameServices.GetPlayerSeasonStatsByPlayer("2016", "20000571"); Assert.IsTrue(response.Count == 1); }
public void GetPlayerSeasonStats() { var client = new FantasyNBAClient(); var response = client.PlayerSeasonServices.GetPlayerSeasonStats("2016"); Assert.IsTrue(response.Count == 486); }
public void GetBoxScoresbyDateDelta() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("2017-DEC-31"); var response = client.BoxScoreServices.GetBoxScoresbyDateDelta(myDate, "1"); Assert.IsTrue(response.Count == 8); }
public void NewsbyDate() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("2018-JAN-15"); var response = client.NewsServices.NewsbyDate(myDate); Assert.IsTrue(response.Count == 52); }
public void GamesbyDate() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("2018-JAN-19"); var response = client.GameServices.GamesbyDate(myDate); Assert.IsTrue(response.Count == 7); }
public void GetProjectedPlayerGameStatsbyPlayer() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("2018-JAN-31"); var response = client.ProjectionServices.GetProjectedPlayerGameStatsbyPlayer(myDate, "20000571"); Assert.IsTrue(response.Count == 1); }
public void GetProjectedPlayerGameStatsbyDate() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("2017-DEC-31"); var response = client.ProjectionServices.GetProjectedPlayerGameStatsbyDate(myDate); Assert.IsTrue(response.Count == 262); }
public void GetPlayByPlayDelta() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("2016-OCT-31"); var response = client.BoxScorePbpServices.GetPlayByPlayDelta(myDate, "1"); Assert.IsTrue(response.Count == 4); }
public void GetTeamGameStatsbyDate() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("2017-DEC-31"); var response = client.OpponentSeasonServices.GetTeamGameStatsbyDate(myDate); Assert.IsTrue(response.Count == 16); }
public void GetlayerGameStatsbyPlayerID() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("12-25-2017"); var response = client.PlayerGameServices.GetPlayerGameStatsbyPlayerID(myDate, "20000571"); Assert.IsTrue(response.Count == 1); }
public void AreGamesInProgress() { var client = new FantasyNBAClient(); Boolean response = client.CommonServices.AnyGamesInProgress(); Assert.IsTrue(response == false); //Assert.IsTrue(response.Count == 31); }
public void GetDFSSlatesbyDate() { var client = new FantasyNBAClient(); DateTime myDate = Convert.ToDateTime("2017-DEC-01"); var response = client.DfsSlateServices.GetDFSSlatesbyDate(myDate); Assert.IsTrue(response.Count == 12); }