Skip to content

Commit d5fb0c9

Browse files
committed
Update README.md
1 parent 36084af commit d5fb0c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,16 @@ print(statsapi.standings(date='07/04/2018'))
101101

102102
### Print the top 5 team leaders in walks for the 2008 Phillies
103103

104+
Use `statsapi.team_leaders()`
105+
104106
```
105107
print(statsapi.team_leaders(143,'walks',limit=5,season=2008))
106108
```
107109

108110
### Print the top 10 all time single season leaders in doubles
109111

112+
use `statsapi.league_leaders()`
113+
110114
```
111115
print(statsapi.league_leaders('doubles',statGroup='hitting',limit=10))
112116
```

0 commit comments

Comments
 (0)