Baseball Sharp is an unofficial .NET API client for accessing the public facing (but undocumented) MLB Stats API. Currently runs on .NET6.
Clone the repository or install from Nuget. Next, import Baseball Sharp into your project with:
using BaseballSharp;
The solution contains two projects:
- BaseballSharp - The MLB Stats API wrapper library.
- BaseballSharpCli - Command line app which contains an example implementation of Baseball Sharp's features.
- Read the getting started guide.
- View the API reference.
- Read the changelog.
- Continue implementing API endpoints and helper functions.
- Add unit tests.
- Develop BaseballSharp CLI example to showcase usage.
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.