Interface IMLBClient
The IMLBClient interface can be used for testing purposes.
Assembly: BaseballSharp.dll
Syntax
public interface IMLBClient
Methods
|
Edit this page
View Source
GetDepthChartAsync(int)
Declaration
Task<IEnumerable<DepthChart>> GetDepthChartAsync(int teamId)
Parameters
Type |
Name |
Description |
int |
teamId |
|
Returns
|
Edit this page
View Source
GetDivisionsAsync()
Declaration
Task<IEnumerable<Division>> GetDivisionsAsync()
Returns
|
Edit this page
View Source
GetLineScoreAsync(int)
Declaration
Task<IEnumerable<Linescore>> GetLineScoreAsync(int gameId)
Parameters
Type |
Name |
Description |
int |
gameId |
|
Returns
|
Edit this page
View Source
GetPitchingReportsAsync(DateTime)
Declaration
Task<IEnumerable<PitchingReport>> GetPitchingReportsAsync(DateTime date)
Parameters
Returns
|
Edit this page
View Source
GetScheduleAsync(DateTime)
Declaration
Task<IEnumerable<Schedule>> GetScheduleAsync(DateTime date)
Parameters
Returns
|
Edit this page
View Source
GetTeamDataAsync()
Declaration
Task<IEnumerable<Team>> GetTeamDataAsync()
Returns
|
Edit this page
View Source
GetTeamRosterAsync(int, int, DateTime, rosterType)
Declaration
Task<IEnumerable<TeamRoster>> GetTeamRosterAsync(int teamId, int season, DateTime date, rosterType roster = rosterType.rosterFull)
Parameters
Returns