Skip to content

Instantly share code, notes, and snippets.

@twobitlabs
Created August 8, 2018 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twobitlabs/2761c7a3e02be6f7ab4a99b47c4f13e0 to your computer and use it in GitHub Desktop.
Save twobitlabs/2761c7a3e02be6f7ab4a99b47c4f13e0 to your computer and use it in GitHub Desktop.
{
"box_score_url": "http://www.espn.com/mlb/gamecast?gameId=380807121",
"country": 0,
"full_pbp": {
"by_period": {
"description": "By Inning",
"groupings": [
{
"collapsed": false,
"description": "1st Inning",
"plays": [
0,
1,
2,
3
]
}
]
},
"groupings": [
"scoring_summary",
"by_period"
],
"plays": {
"0": {
"game_progress": "Top 1st",
"game_progress_primary": null,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"play_stoppage": false,
"player_ids": [],
"score_away": null,
"score_home": null,
"scoring_play": false,
"sequence": 0,
"summary": "Jos\u00e9 Peraza singles to center field.",
"team_id": 16
},
"1": {
"game_progress": "Top 1st",
"game_progress_primary": null,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"play_stoppage": false,
"player_ids": [],
"score_away": null,
"score_home": null,
"scoring_play": false,
"sequence": 1,
"summary": "Brandon Dixon strikes out swinging. Jos\u00e9 Peraza to third.",
"team_id": 16
},
"2": {
"game_progress": "Top 1st",
"game_progress_primary": null,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"play_stoppage": false,
"player_ids": [],
"score_away": null,
"score_home": null,
"scoring_play": true,
"sequence": 2,
"summary": "Scooter Gennett singles to center field. Jos\u00e9 Peraza scores.",
"team_id": 16
},
"3": {
"game_progress": "Top 1st",
"game_progress_primary": null,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"play_stoppage": false,
"player_ids": [],
"score_away": null,
"score_home": null,
"scoring_play": true,
"sequence": 3,
"summary": "Eugenio Su\u00e1rez doubles to deep center field. Scooter Gennett to third.",
"team_id": 16
}
},
"scoring_summary": {
"description": "Scoring Summary",
"groupings": [
{
"collapsed": false,
"description": "Top 1st",
"plays": [
3,
2
]
}
]
}
},
"game": {
"away_team_id": 16,
"current_period": 1,
"game_progress": "Top 1st",
"game_progress_footer": "SNY",
"game_progress_header": null,
"game_progress_primary": "Top 1st",
"home_team_id": 27,
"network": "SNY",
"odds_total": 9.0,
"period_count": 9,
"period_type": "inning",
"providers": [],
"score_away": 1,
"score_home": 0,
"state": {
"at_bat_player": null,
"balls": 0,
"outs": 1,
"period_phase": "Top",
"pitcher_player": {
"player_id": 1402,
"total_pitches": 14,
"total_strikeouts": 1
},
"runners": {
"first": false,
"second": true,
"third": true
},
"strikes": 2
},
"team_scoring": {
"away_team": {
"errors": 0,
"hits": 3,
"periods": [
{
"description": "1",
"number": 1,
"score": 1
},
{
"description": "2",
"number": 2
},
{
"description": "3",
"number": 3
},
{
"description": "4",
"number": 4
},
{
"description": "5",
"number": 5
},
{
"description": "6",
"number": 6
},
{
"description": "7",
"number": 7
},
{
"description": "8",
"number": 8
},
{
"description": "9",
"number": 9
}
],
"runs": 1,
"team_id": 16
},
"home_team": {
"errors": 0,
"hits": 0,
"periods": [
{
"description": "1",
"number": 1
},
{
"description": "2",
"number": 2
},
{
"description": "3",
"number": 3
},
{
"description": "4",
"number": 4
},
{
"description": "5",
"number": 5
},
{
"description": "6",
"number": 6
},
{
"description": "7",
"number": 7
},
{
"description": "8",
"number": 8
},
{
"description": "9",
"number": 9
}
],
"runs": 0,
"team_id": 27
}
}
},
"game_date": "2018-08-07T23:10:00Z",
"game_permalink": "cincinnati-reds-vs-new-york-mets-2018-8-7-18-10",
"league": "mlb",
"pbp": [
{
"game_progress": "Top 1st",
"game_progress_primary": null,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"play_stoppage": false,
"player_ids": [],
"score_away": null,
"score_home": null,
"scoring_play": true,
"sequence": 3,
"summary": "Eugenio Su\u00e1rez doubles to deep center field. Scooter Gennett to third.",
"team_id": 16
},
{
"game_progress": "Top 1st",
"game_progress_primary": null,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"play_stoppage": false,
"player_ids": [],
"score_away": null,
"score_home": null,
"scoring_play": true,
"sequence": 2,
"summary": "Scooter Gennett singles to center field. Jos\u00e9 Peraza scores.",
"team_id": 16
},
{
"game_progress": "Top 1st",
"game_progress_primary": null,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"play_stoppage": false,
"player_ids": [],
"score_away": null,
"score_home": null,
"scoring_play": false,
"sequence": 1,
"summary": "Brandon Dixon strikes out swinging. Jos\u00e9 Peraza to third.",
"team_id": 16
},
{
"game_progress": "Top 1st",
"game_progress_primary": null,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"play_stoppage": false,
"player_ids": [],
"score_away": null,
"score_home": null,
"scoring_play": false,
"sequence": 0,
"summary": "Jos\u00e9 Peraza singles to center field.",
"team_id": 16
}
],
"player_stats": {
"away_team": {
"hitting": {
"ab": 4,
"bases_stolen": 1,
"bb": 0,
"doubles": 1,
"h": 3,
"hr": 0,
"k": 1,
"players": [
{
"ab": 1,
"avg": 0.2840909090909091,
"bases_stolen": 1,
"batting_order": 1,
"bb": 0,
"doubles": 0,
"h": 1,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.32340425531914896,
"ops": 0.7120406189555126,
"player_id": 252,
"r": 0,
"rbi": 0,
"singles": 1,
"slg": 0.3886363636363636,
"triples": 0
},
{
"ab": 1,
"avg": 0.17307692307692307,
"bases_stolen": 0,
"batting_order": 2,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 1,
"lob": 1,
"obp": 0.21818181818181817,
"ops": 0.5258741258741259,
"player_id": 4420,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.3076923076923077,
"triples": 0
},
{
"ab": 1,
"avg": 0.31143552311435524,
"bases_stolen": 0,
"batting_order": 3,
"bb": 0,
"doubles": 0,
"h": 1,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.3579418344519016,
"ops": 0.8518591093910743,
"player_id": 602,
"r": 0,
"rbi": 1,
"singles": 1,
"slg": 0.49391727493917276,
"triples": 0
},
{
"ab": 1,
"avg": 0.30578512396694213,
"bases_stolen": 0,
"batting_order": 4,
"bb": 0,
"doubles": 1,
"h": 1,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.37922705314009664,
"ops": 0.9632490917075898,
"player_id": 247,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.5840220385674931,
"triples": 0
},
{
"ab": 0,
"avg": 0.0,
"bases_stolen": 0,
"batting_order": 5,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.0,
"ops": 0.0,
"player_id": 1472,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.0,
"triples": 0
},
{
"ab": 0,
"avg": 0.0,
"bases_stolen": 0,
"batting_order": 6,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.0,
"ops": 0.0,
"player_id": 240,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.0,
"triples": 0
},
{
"ab": 0,
"avg": 0.0,
"bases_stolen": 0,
"batting_order": 7,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.0,
"ops": 0.0,
"player_id": 1274,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.0,
"triples": 0
},
{
"ab": 0,
"avg": 0.0,
"bases_stolen": 0,
"batting_order": 8,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.0,
"ops": 0.0,
"player_id": 272,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.0,
"triples": 0
},
{
"ab": 0,
"avg": 0.0,
"bases_stolen": 0,
"batting_order": 9,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.0,
"ops": 0.0,
"player_id": 250,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.0,
"triples": 0
}
],
"r": 1,
"rbi": 1,
"singles": 2,
"triples": 0
},
"pitching": {
"h": 0,
"k": 0,
"pitches": 0,
"players": []
},
"team_id": 16
},
"home_team": {
"hitting": {
"ab": 0,
"bases_stolen": 0,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"k": 0,
"players": [
{
"ab": 0,
"avg": 0.23275862068965517,
"bases_stolen": 0,
"batting_order": 1,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.26975476839237056,
"ops": 0.6203294810360487,
"player_id": 1491,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.3505747126436782,
"triples": 0
},
{
"ab": 0,
"avg": 0.36363636363636365,
"bases_stolen": 0,
"batting_order": 2,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.4473684210526316,
"ops": 1.0534290271132376,
"player_id": 4465,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.6060606060606061,
"triples": 0
},
{
"ab": 0,
"avg": 0.2788104089219331,
"bases_stolen": 0,
"batting_order": 3,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.33554817275747506,
"ops": 0.7965147155084045,
"player_id": 683,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.46096654275092935,
"triples": 0
},
{
"ab": 0,
"avg": 0.23478260869565218,
"bases_stolen": 0,
"batting_order": 4,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.34074074074074073,
"ops": 0.7378421900161031,
"player_id": 691,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.39710144927536234,
"triples": 0
},
{
"ab": 0,
"avg": 0.20987654320987653,
"bases_stolen": 0,
"batting_order": 5,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.29136690647482016,
"ops": 0.6576220505077419,
"player_id": 207,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.3662551440329218,
"triples": 0
},
{
"ab": 0,
"avg": 0.24281150159744408,
"bases_stolen": 0,
"batting_order": 6,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.3696808510638298,
"ops": 0.8297447488274081,
"player_id": 696,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.46006389776357826,
"triples": 0
},
{
"ab": 0,
"avg": 0.20903954802259886,
"bases_stolen": 0,
"batting_order": 7,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.35023041474654376,
"ops": 0.7287614881928715,
"player_id": 1126,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.3785310734463277,
"triples": 0
},
{
"ab": 0,
"avg": 0.2248062015503876,
"bases_stolen": 0,
"batting_order": 8,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.33112582781456956,
"ops": 0.7109707890548796,
"player_id": 678,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.3798449612403101,
"triples": 0
},
{
"ab": 0,
"avg": 0.07692307692307693,
"bases_stolen": 0,
"batting_order": 9,
"bb": 0,
"doubles": 0,
"h": 0,
"hr": 0,
"is_designated_hitter": false,
"is_pinch_hitter": false,
"is_pinch_runner": false,
"k": 0,
"lob": 0,
"obp": 0.14285714285714285,
"ops": 0.21978021978021978,
"player_id": 1402,
"r": 0,
"rbi": 0,
"singles": 0,
"slg": 0.07692307692307693,
"triples": 0
}
],
"r": 0,
"rbi": 0,
"singles": 0,
"triples": 0
},
"pitching": {
"h": 3,
"k": 12,
"pitches": 14,
"players": [
{
"bb": 0,
"er": 1,
"era": 8.407643312101909,
"h": 3,
"hold": false,
"ip": 0.1,
"k": 1,
"pc-st": "14-12",
"pitches": 14,
"player_id": 1402,
"r": 1,
"save": false
}
]
},
"team_id": 27
}
},
"players": {
"-1": {
"id": -1,
"name": "Unknown",
"permalink": null,
"player_sdid": null,
"position": "UK",
"short_name": "Unknown",
"tag_id": null,
"uniform_number": "0"
},
"1126": {
"id": 1126,
"name": "Jos\u00e9 Bautista",
"permalink": "jose-bautista",
"player_sdid": "78bbb2e3-487a-4f14-ad95-22dfae998a98",
"position": "RF",
"short_name": "J. Bautista",
"tag_id": 7381,
"uniform_number": "11"
},
"1402": {
"id": 1402,
"name": "Jason Vargas",
"permalink": "jason-vargas",
"player_sdid": "2d60f0d5-dacb-40dd-b9a2-adb7716b40e2",
"position": "P",
"short_name": "J. Vargas",
"tag_id": 18560,
"uniform_number": "40"
},
"1491": {
"id": 1491,
"name": "Amed Rosario",
"permalink": "amed-rosario-SS",
"player_sdid": "e19efe62-ace7-4202-97bf-d457a71c50d5",
"position": "SS",
"short_name": "A. Rosario",
"tag_id": 98254,
"uniform_number": "1"
},
"207": {
"id": 207,
"name": "Todd Frazier",
"permalink": "todd-frazier",
"player_sdid": "c401dbb6-2208-45f4-9947-db11881daf4f",
"position": "3B",
"short_name": "T. Frazier",
"tag_id": 78300,
"uniform_number": "21"
},
"247": {
"id": 247,
"name": "Eugenio Su\u00e1rez",
"permalink": "eugenio-suarez",
"player_sdid": "27e91ba7-4a19-4548-91fc-8d70a29b9b8a",
"position": "3B",
"short_name": "E. Su\u00e1rez",
"tag_id": 86517,
"uniform_number": "7"
},
"252": {
"id": 252,
"name": "Jos\u00e9 Peraza",
"permalink": "jose-peraza",
"player_sdid": "ba24ba96-7572-495c-8057-1bbab656dece",
"position": "SS",
"short_name": "J. Peraza",
"tag_id": 91102,
"uniform_number": "9"
},
"4420": {
"id": 4420,
"name": "Brandon Dixon",
"permalink": null,
"player_sdid": "73622af4-182c-4faa-bbff-b1b4af5d8869",
"position": "1B",
"short_name": "B. Dixon",
"tag_id": null,
"uniform_number": "4"
},
"4465": {
"id": 4465,
"name": "Jeff McNeil",
"permalink": null,
"player_sdid": "c31c5931-b7db-447d-9207-5d6f58ec0f4f",
"position": "2B",
"short_name": "J. McNeil",
"tag_id": null,
"uniform_number": "68"
},
"602": {
"id": 602,
"name": "Scooter Gennett",
"permalink": "scooter-gennett",
"player_sdid": "d4da1a04-b306-4389-a7c1-052ef36c4d83",
"position": "2B",
"short_name": "S. Gennett",
"tag_id": 80146,
"uniform_number": "3"
},
"678": {
"id": 678,
"name": "Kevin Plawecki",
"permalink": "kevin-plawecki",
"player_sdid": "b1f6fc22-f38e-4d77-a7e7-6a2ffdcf77f2",
"position": "C",
"short_name": "K. Plawecki",
"tag_id": 92024,
"uniform_number": "26"
},
"683": {
"id": 683,
"name": "Wilmer Flores",
"permalink": "wilmer-flores",
"player_sdid": "45bca5ce-4514-4a91-9410-e201c7b0052d",
"position": "1B",
"short_name": "W. Flores",
"tag_id": 79741,
"uniform_number": "4"
},
"691": {
"id": 691,
"name": "Michael Conforto",
"permalink": "michael-conforto",
"player_sdid": "e5bdeb0e-38fc-4d30-8127-43d0d5b2864d",
"position": "LF",
"short_name": "M. Conforto",
"tag_id": 94515,
"uniform_number": "30"
},
"696": {
"id": 696,
"name": "Brandon Nimmo",
"permalink": "brandon-nimmo",
"player_sdid": "bba23f9e-8aac-454a-b8ca-9373b5d1e5b8",
"position": "CF",
"short_name": "B. Nimmo",
"tag_id": 97431,
"uniform_number": "9"
}
},
"processing_time": "00:00:00.0396861",
"site": "MLB",
"sport": "baseball",
"status": "delayed",
"teams": {
"16": {
"abbrev": "CIN",
"color_primary": "#C6011F",
"color_secondary": "#000000",
"id": 16,
"is_home_team": false,
"is_participant": true,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/cincinnati_reds.png",
"name": "Reds",
"permalink": "cincinnati-reds",
"record": "49-64",
"tag_id": 106,
"team_sdid": "c874a065-c115-4e7d-b0f0-235584fb0e6f"
},
"27": {
"abbrev": "NYM",
"color_primary": "#002C74",
"color_secondary": "#FF4A00",
"id": 27,
"is_home_team": true,
"is_participant": true,
"logo": "https://cdn.bleacherreport.net/images/team_logos/164x164/new_york_mets.png",
"name": "Mets",
"permalink": "new-york-mets",
"record": "46-64",
"tag_id": 100,
"team_sdid": "f246a5e5-afdb-479c-9aaa-c68beeda7af6"
}
},
"update_date": "2018-08-08T00:17:51Z"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment