From 432131afbdeb13db85cc78b8d5ed7767bde29f4a Mon Sep 17 00:00:00 2001 From: Bam_boogie <65554208+Kudzmat@users.noreply.github.com> Date: Mon, 18 Nov 2024 03:03:59 +0200 Subject: [PATCH] Update functions.py --- NoseBleedSeat/functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NoseBleedSeat/functions.py b/NoseBleedSeat/functions.py index 383ecf4..9d1fa2c 100644 --- a/NoseBleedSeat/functions.py +++ b/NoseBleedSeat/functions.py @@ -270,7 +270,7 @@ def get_player_bio(player_id): bio = {} # get player info - player_info = commonplayerinfo.CommonPlayerInfo(player_id, proxy=proxy_url) + player_info = commonplayerinfo.CommonPlayerInfo(player_id=player_id, proxy=proxy_url) player_bio = player_info.get_dict() # player stats @@ -344,7 +344,7 @@ def get_accolades(player_id): accolades_history = {} # get list of accolades - player_accolades = playerawards.PlayerAwards(player_id, proxy=proxy_url) + player_accolades = playerawards.PlayerAwards(player_id=player_id, proxy=proxy_url) # add award descriptions to accolades empty list player_awards = player_accolades.get_data_frames()[0]