import requests
def get_stats(nickname):
response = requests.get('https://api.fortnitetracker.com/v1/profile/all/'+nickname, headers= {'TRN-Api-Key': "..."})
r=response.json()
r2 = r["stats"].values()
for x in r2:
r3 = x.values()
for x in r3:
return x["label"], x['displayValue']
get_stats(Player123)