While looping through LeaderboardDTO.players, some players on the leaderboard raise an AttributeError when accessing gameName, puuid, or tagLine. The Riot Games API docs state that these fields may be missing if the player is anonymous. (i.e Streamer Mode).
While looping through
LeaderboardDTO.players
, some players on the leaderboard raise anAttributeError
when accessinggameName
,puuid
, ortagLine
. The Riot Games API docs state that these fields may be missing if the player is anonymous. (i.e Streamer Mode).