Skip to content

markjamesm/BaseballSharp

Repository files navigation

BaseballSharp

C# Build NuGet License

About

BaseballSharp is an unofficial .NET API SDK for accessing the public facing (but undocumented) MLB (Major League Baseball) Stats API. Currently runs on .NET 8.

Usage

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.

Documentation

Planned

  • Continue implementing API endpoints and helper functions.
  • Add unit tests.

Copyright Notice

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.