def team_stats(game_id):
    # get data
    data = mlbgame.stats.team_stats(game_id)
    output = {x:mlbgame.stats.TeamStats(data[x]) for x in data}
    return output
Return dictionary of team stats for game matching the game id.
dataset/ETHPy150Open zachpanz88/mlbgame/mlbgame/__init__.py/team_stats