Clone the repository or install from Nuget. Next, import Baseball Sharp into your project with:
Visit the API Reference section for the most up-to-date endpoint and model documentation.
You can also see examples of how to use the endpoint functions in the BaseballSharpCli example app.
Endpoints include (but are not limited to) the following:
list<Schedule> of containing games played on the specified date. Dates should be specified in mm/DD/yyyy format. Note: This endpoint is still being worked with plans to obtain game ids and other endpoints.
The list contains:
- Scheduled innings: The number of scheduled innings for the game.
list<PitchingReport> containing the following information for a specified date (mm/DD/yyyy format):
list<Team> of all teams in the league. Contains the following information:
- FullName - Full team name, eg: "Toronto Blue Jays"
- Name - Team name, eg: "Blue Jays"
- Division Name
This package and its author are not affiliated with MLB or any MLB team. This API wrapper interfaces with MLB's Stats API. Use of MLB data is subject to the notice posted at http://gdx.mlb.com/components/copyright.txt.