Skip to content

Commit

Permalink
Add docs for league function
Browse files Browse the repository at this point in the history
  • Loading branch information
panzarino committed Nov 9, 2016
1 parent cd96c60 commit c73bf79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlbgame/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,6 @@ def overview(game_id):
return mlbgame.game.Overview(data)

def league():
"""Return Info object that contains league information"""
info = mlbgame.info.league_info()
return mlbgame.info.Info(info)

0 comments on commit c73bf79

Please sign in to comment.