Skip to content

Commit 681fc6f

Browse files
authored
Update README.md
Actually resolves #14
1 parent c08af4d commit 681fc6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ I will do my best to add it to the returned objects.
6767

6868
## API
6969

70-
### Get Contests for a League
70+
### Get Contests for a Sport
7171
```python
7272
from draftkings_client import DraftKingsClient, Sport
7373

7474
// Gets current NBA contests
75-
return DraftKingsClient.get_contests(league=League.nba)
75+
DraftKingsClient.get_contests(sport=Sport.nba)
7676
```
7777

7878
### Get Available Players for a Draft Group

0 commit comments

Comments
 (0)