Skip to content

Commit

Permalink
noting the speed improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Nov 5, 2024
1 parent d236aec commit 1268c5b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ async def main():
)
print(player_stats)

# if you do not provide a session we'll make one for you, this session will not be reused
# for multiple requests we advice doing that within one session like the example above
player_stats = await hiscore_instance.get(
mode=HSMode.OLDSCHOOL,
player="extreme4all",
)
print(player_stats)
# Run the asynchronous main function
if __name__ == "__main__":
asyncio.run(main())
Expand Down

0 comments on commit 1268c5b

Please sign in to comment.