What's the current standard for getting mlb data into a database? I used to use Baseball On a Stick (which accessed the old gameday data) but that doesn't work now. I found "mlbdata" which accesses the mlb API but I can't figure out how to make it put stuff into a database. Is there a good option?

This page summarizes the projects mentioned and recommended in the original post on /r/Sabermetrics

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • MLB-StatsAPI

    Python wrapper for MLB Stats API

  • I'm not aware of any services that load it directly into a database for you. There is the MLB-StatsAPI python wrapper which makes the API calls a bit more straightforward. Using something like that to retrieve the data is probably one of the easiest ways to pull the data you want. You can then write it to a csv, database table, ect with a pretty simple script. There's tons of documentation online of how to do this. You could do this in Python or whatever language you prefer.

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts