Skip to content

Commit

Permalink
Update README.rst (#132)
Browse files Browse the repository at this point in the history
league.position_by_summoner() was deprecated.
  • Loading branch information
TH3Mjuss authored and pseudonym117 committed Aug 24, 2019
1 parent 28154a3 commit 0fc61e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ raised as HTTPError exceptions from the Requests library.
# all objects are returned (by default) as a dict
# lets see if I got diamond yet (I probably didn't)
my_ranked_stats = watcher.league.positions_by_summoner(my_region, me['id'])
my_ranked_stats = watcher.league.by_summoner(my_region, me['id'])
print(my_ranked_stats)
# Lets get some champions
Expand Down

0 comments on commit 0fc61e6

Please sign in to comment.