MLB-StatsAPI
MLB-Sharp
Our great sponsors
MLB-StatsAPI | MLB-Sharp | |
---|---|---|
28 | 2 | |
470 | 2 | |
- | - | |
6.3 | 0.0 | |
4 months ago | almost 3 years ago | |
Python | C# | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MLB-StatsAPI
-
I Built a Desktop Scoreboard to Follow Cardinals Games
Yeah, I used this API which made the code fairly straightforward: https://github.com/toddrob99/MLB-StatsAPI
-
Access Question
I don't know if you're using python, but even if not, there's info about the endpoints on the MLB-StatsAPI python wrapper wiki here.
- Innings data — am I calling the right API?
-
How to make a smaller call to https://statsapi.mlb.com/?
Yes, there are endpoints to get subsets of the game/live endpoint. The endpoints are documented here. You'll probably be interested in game_boxscore, game_linescore, and game_playByPlay.
-
Baseball Savant API
pybaseball and MLB-StatsAPI are the go-to python wrappers for the official MLB API.
- Data sources for MLB ABs?
-
Python for Baseball
The MLB-StatsAPI is really good too. The creator is active on the data sub, and I think is the mod of the sub.
-
API Endpoints?
The public endpoints are listed here. There is a statcast endpoint that's not listed there, but it requires authentication and MLB only gives access to teams and affiliates.
-
Python OOP Module for MLB Stats API ready for input
There are still several things that need completion, reactors, and documentation. If you are familiar with toddrob99's wrapper then some of this might be familiar. I must thank Toddrob for his work as we used a lot of his wiki and documentation to get started. https://github.com/toddrob99/MLB-StatsAPI
- MLB Stats API Question
MLB-Sharp
What are some alternatives?
pybaseball - Pull current and historical baseball statistics using Python (Statcast, Baseball Reference, FanGraphs)
BaseballSharp - Unofficial .NET SDK for the MLB Stats API.
BaseballTheater
ApexCharts.NET - C# .Net Standard 2.0 wrapper for the ApexCharts Javascript Library - https://apexcharts.com
mlbgame - A Python API to retrieve and read MLB GameDay data
mangadex - A python wrapper for the mangadex API V5. Work in progress
zenpy - Python wrapper for the Zendesk API
hvcc - The heavy hvcc compiler for Pure Data patches.
investopedia_simulator_api - A simple Python API for Investopedia's stock simulator games. This programmatically logs into Investopedia and can retrieve portfolio summary, get stock quotes & option chain lookups, execute trades - buy & sell shares, puts, calls, sell short, etc.
MLB-StatsAPI - Python wrapper for MLB Stats API
chalice - Python Serverless Microframework for AWS
boxball - Prebuilt Docker images with Retrosheet's complete baseball history data for many analytical frameworks. Includes Postgres, cstore_fdw, MySQL, SQLite, Clickhouse, Drill, Parquet, and CSV.