On the latest 1.7 version. boxscore_data is currently returning all battings notes under awayBattingNotes object, along with the notes being incomplete. Using the provide gamePk of 565997 from the docs, my awayBattingNotes object appears as:
"awayBattingNotes": { "0": "3-Ran for Heim in the 9th.", "1": "b-Singled for Peña in the 9th.", "2": "c-Walked for Maldonado, M in the 9th.", "3": "1-Ran for Singleton in the 9th." }
with an empty homeBattingNotes object.
Expected behavior is:
"awayBattingNotes": { "0": "a-Popped out for Velasquez in the 6th." "1": "b-Singled for Peña in the 9th.", "2": "c-Walked for Maldonado, M in the 9th.", "3": "1-Ran for Singleton in the 9th." }
Along with an non-empty and accurate homeBattingNotes.
My current call looks like this: return statsapi.boxscore_data(game_id)
On the latest 1.7 version. boxscore_data is currently returning all battings notes under awayBattingNotes object, along with the notes being incomplete. Using the provide gamePk of 565997 from the docs, my awayBattingNotes object appears as:
"awayBattingNotes": { "0": "3-Ran for Heim in the 9th.", "1": "b-Singled for Peña in the 9th.", "2": "c-Walked for Maldonado, M in the 9th.", "3": "1-Ran for Singleton in the 9th." }
with an empty homeBattingNotes object.
Expected behavior is:
"awayBattingNotes": { "0": "a-Popped out for Velasquez in the 6th." "1": "b-Singled for Peña in the 9th.", "2": "c-Walked for Maldonado, M in the 9th.", "3": "1-Ran for Singleton in the 9th." }
Along with an non-empty and accurate homeBattingNotes.My current call looks like this:
return statsapi.boxscore_data(game_id)