BaseballSharp 0.2.1

dotnet add package BaseballSharp --version 0.2.1
NuGet\Install-Package BaseballSharp -Version 0.2.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BaseballSharp" Version="0.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BaseballSharp --version 0.2.1
#r "nuget: BaseballSharp, 0.2.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BaseballSharp as a Cake Addin
#addin nuget:?package=BaseballSharp&version=0.2.1

// Install BaseballSharp as a Cake Tool
#tool nuget:?package=BaseballSharp&version=0.2.1


C# Build NuGet License


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.


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.



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

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

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.1 87 6/4/2024
0.2.0 224 12/2/2023
0.1.9 306 12/31/2021
0.1.8 230 12/30/2021
0.1.7 297 7/12/2021
0.1.6-alpha 210 6/16/2021
0.1.5-alpha 239 5/31/2021
0.1.4-alpha 212 5/24/2021
0.1.3-alpha 342 5/22/2021
0.1.2-alpha 214 5/19/2021