public void GetStandings() { var client = new FantasyMLBClient(); var response = client.StandingsServices.GetStandings("2018"); Assert.IsTrue(response.Count == 30); }
public void GetStadiums() { var client = new FantasyMLBClient(); var response = client.StadiumsServices.GetStadiums(); Assert.IsTrue(response.Count == 68); }
public void GetPlayerSeasonHomeStats() { var client = new FantasyMLBClient(); var response = client.PlayerSeasonServices.GetPlayerSeasonHomeStats("2018"); Assert.IsTrue(response.Count == 887); }
public void GetPlayerDetailsbyPlayerID() { var client = new FantasyMLBClient(); var response = client.PlayerServices.GetPlayerDetailsbyPlayerID("10000001"); Assert.IsTrue(response.Count == 1); }
public void GetBattervsPitcherStats() { var client = new FantasyMLBClient(); var response = client.PlayerSeasonServices.GetBattervsPitcherStats("10000031", "10000618"); Assert.IsTrue(response.Count == 2); }
public void BoxScore() { var client = new FantasyMLBClient(); var response = client.BoxScoreServices.GetBoxScore("14620"); Assert.IsTrue(response.Count == 1); }
public void GetAllTeams() { var client = new FantasyMLBClient(); var response = client.TeamServices.GetAllTeams(); Assert.IsTrue(response.Count == 35); }
public void GetPlayerSeasonStatsbyTeam() { var client = new FantasyMLBClient(); var response = client.PlayerGameServices.GetPlayerSeasonStatsbyTeam("2018", "NYY"); Assert.IsTrue(response.Count == 31); }
public void GetPlayersbyTeam() { var client = new FantasyMLBClient(); var response = client.PlayerServices.GetPlayersbyTeam("NYY"); Assert.IsTrue(response.Count == 142); }
public void GetPlayerDetailsbyActive() { var client = new FantasyMLBClient(); var response = client.PlayerServices.GetPlayerDetailsbyActive(); Assert.IsTrue(response.Count == 4318); }
public void GetProjectedPlayerSeasonStats() { var client = new FantasyMLBClient(); var response = client.ProjectionServices.GetProjectedPlayerSeasonStats("2018"); Assert.IsTrue(response.Count == 1642); }
public void NewsbyPlayer() { var client = new FantasyMLBClient(); var response = client.NewsServices.NewsbyPlayer("10000001"); Assert.IsTrue(response.Count == 24); }
public void News() { var client = new FantasyMLBClient(); var response = client.NewsServices.GetNews(); Assert.IsTrue(response.Count == 25); }
public void GetPlayerSeasonStatsSplitByTeam() { var client = new FantasyMLBClient(); var response = client.PlayerSeasonServices.GetPlayerSeasonStatsSplitByTeam("2018"); Assert.IsTrue(response.Count == 925); }
public void PlayByPlay() { var client = new FantasyMLBClient(); var response = client.BoxScorePbpServices.GetPlayByPlay("16905"); Assert.IsTrue(response.Count == 1); }
public void GetPlayerSeasonStatsByPlayer() { var client = new FantasyMLBClient(); var response = client.PlayerGameServices.GetPlayerSeasonStatsByPlayer("2017", "10000507"); Assert.IsTrue(response.Count == 1); }
public void GetTeamSeasonStats() { var client = new FantasyMLBClient(); var response = client.TeamSeasonServices.GetTeamSeasonStats("2018"); Assert.IsTrue(response.Count == 30); }
public void GetSchedules() { var client = new FantasyMLBClient(); var response = client.GameServices.GetSchedules("2018"); Assert.IsTrue(response.Count == 2451); }
public void GetCurrentSeason() { var client = new FantasyMLBClient(); var response = client.SeasonServices.GetCurrentSeason(); Assert.IsTrue(response.Count == 1); }
public void GetPlayerDetailsbyFreeAgent() { var client = new FantasyMLBClient(); var response = client.PlayerServices.GetPlayerDetailsbyFreeAgent(); Assert.IsTrue(response.Count == 624); }
public void NewsbyDate() { var client = new FantasyMLBClient(); DateTime myDate = Convert.ToDateTime("2017-JUL-31"); var response = client.NewsServices.NewsbyDate(myDate); Assert.IsTrue(response.Count == 68); }
public void GetProjectedPlayerGameStatsbyPlayer() { var client = new FantasyMLBClient(); DateTime myDate = Convert.ToDateTime("2018-APR-25"); var response = client.ProjectionServices.GetProjectedPlayerGameStatsbyPlayer(myDate, "10000001"); Assert.IsTrue(response.Count == 1); }
public void GetDFSSlatesbyDate() { var client = new FantasyMLBClient(); DateTime myDate = Convert.ToDateTime("2017-JUL-31"); var response = client.DfsSlateServices.GetDFSSlatesbyDate(myDate); Assert.IsTrue(response.Count == 15); }
public void GetPlayerGameStatsbyPlayerID() { var client = new FantasyMLBClient(); DateTime myDate = Convert.ToDateTime("2017-JUL-31"); var response = client.PlayerGameServices.GetPlayerGameStatsbyPlayerID(myDate, "10000001"); Assert.IsTrue(response.Count == 1); }
public void GetPlayByPlayDelta() { var client = new FantasyMLBClient(); DateTime myDate = Convert.ToDateTime("2017-SEP-01"); var response = client.BoxScorePbpServices.GetPlayByPlayDelta(myDate, "1"); Assert.IsTrue(response.Count == 16); }
public void AreGamesInProgress() { var client = new FantasyMLBClient(); Boolean response = client.CommonServices.AnyGamesInProgress(); Assert.IsTrue(response == false); //Assert.IsTrue(response.Count == 31); }
public void GetBoxScoresbyDateDelta() { var client = new FantasyMLBClient(); DateTime myDate = Convert.ToDateTime("2017-JUL-31"); var response = client.BoxScoreServices.GetBoxScoresbyDateDelta(myDate, "1"); Assert.IsTrue(response.Count == 9); }