{"id":19115261,"url":"https://github.com/davidfischer/gdx-downloader","last_synced_at":"2025-06-16T08:05:35.982Z","repository":{"id":9947085,"uuid":"11965414","full_name":"davidfischer/gdx-downloader","owner":"davidfischer","description":"A downloader for MLB Gameday raw data","archived":false,"fork":false,"pushed_at":"2013-08-09T22:41:10.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T07:03:44.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidfischer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-08T02:14:43.000Z","updated_at":"2014-01-20T01:30:22.000Z","dependencies_parsed_at":"2022-09-05T12:20:23.014Z","dependency_job_id":null,"html_url":"https://github.com/davidfischer/gdx-downloader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fgdx-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fgdx-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fgdx-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfischer%2Fgdx-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidfischer","download_url":"https://codeload.github.com/davidfischer/gdx-downloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240170084,"owners_count":19759145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T04:45:55.922Z","updated_at":"2025-02-22T12:14:35.047Z","avatar_url":"https://github.com/davidfischer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"GDX Downloader\n==============\n\nThis is a simple downloader for the data from the MLB\n[Gameday website](http://gdx.mlb.com/components/game/mlb/).\n\n\nUsage\n-----\n\n    ./gdxdownloader.sh \u003cURL\u003e\n\n    # Download a specific game\n    ./gdxdownloader.sh http://gdx.mlb.com/components/game/mlb/year_2012/month_04/day_01/gid_2012_04_01_nyamlb_miamlb_1/\n    # Download all games for a specific day\n    ./gdxdownloader.sh http://gdx.mlb.com/components/game/mlb/year_2012/month_04/day_01/\n    # Download all games for a specific month\n    ./gdxdownloader.sh http://gdx.mlb.com/components/game/mlb/year_2012/month_04/\n\nOutput goes to mlb/ in the current directory and starts at components/game/mlb.\nIf downloading a directory, the URL *MUST* end with a '/'. The downloader\ngoes [breadth-first](https://en.wikipedia.org/wiki/Breadth-first_search).\n\nDownloading a full day's data (~10 games) takes about 15 minutes and takes\nabout 20MB on disk.\n\n\nDirectory structure\n-------------------\n\n    mlb/  # Major League Baseball\n    |-- year_(\\d{4})/  # A specific year of games and player statistics\n        |-- batters/\n        |   |-- (\\d{6}).xml  # Season stats for batters with the given MLB id\n        |-- month_(\\d{2})/  # A specific month of games\n        |   |-- day_(\\d{2})/  # A specific day of games\n        |   |   |-- gid_(\\d{4})_(\\d{2})_(\\d{2})_\\w{3}mlb_\\w{3}mlb_(\\d)    # YYYY_MM_DD, team abbrevs, doubleheader\n        |   |   |   |-- batters/\n        |   |   |   |   |-- (\\d{6}).xml   # Batters' daily stats including player stats\n        |   |   |   |-- bench.xml\n        |   |   |   |-- boxscore.xml\n        |   |   |   |-- game.xml\n        |   |   |   |-- inning/\n        |   |   |   |   |-- inning_(\\d+).xml  # Contains atbats by inning (inc. pitch/fx)\n        |   |   |   |   |-- inning_hit.xml  # Contains info about balls hit into play\n        |   |   |   |   |-- inning_Scores.xml  # Contains info about Scoring plays\n        |   |   |   |-- linescore.xml\n        |   |   |   |-- pitchers/\n        |   |   |   |   |-- (\\d{6}).xml   # Pitchers' daily stats including player stats\n        |   |   |   |-- players.xml\n        |   |   |   |-- plays.xml\n        |--- pitchers/\n            |-- (\\d{6}).xml  # Season stats for pitchers with the given MLB id\n    aaa/  # Triple-A ball\n    aax/  # Double-A ball\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfischer%2Fgdx-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidfischer%2Fgdx-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfischer%2Fgdx-downloader/lists"}