code: def game_events(game_id, innings_endpoint=False):
      
      data = mlbgame.events.game_events(game_id, innings_endpoint)
      return [mlbgame.events.Inning(data[x], x) for x in data]
docs: Return list of Inning objects for game matching the game id.
  
      Using `inning_endpoints=True` will result in objects with
      additional, undocumented data properties, but also objects
      that may be missing properties expected by the user.
  
      `innings_endpoint`: bool, use more detailed `innings` API endpoint