cassiopeia icon indicating copy to clipboard operation
cassiopeia copied to clipboard

rank_last_season inaccessible

Open felixchretien opened this issue 4 years ago • 2 comments

I am trying to access the rank_last_season attribute. Following the Sphinx documentation, it should be accessible from both the Match participant and Summoner classes, but in fact both are not.

I get an Attribute error from both

print(type(player))
<class 'cassiopeia.core.summoner.Summoner'>
player.rank_last_season

and

print(type(game.participants[player]))
<class 'cassiopeia.core.match.Participant'>
game.participants[player].rank_last_season

felixchretien avatar May 21 '20 18:05 felixchretien

Thanks for the message. Riot removed this piece of information a while ago, so it looks like it is gone permanently. We will remove this in the next release of Cass.

jjmaldonis avatar May 21 '20 20:05 jjmaldonis

Hi Jason,

Does it mean that we cannot reach any info about the players rank from the api?

Thanks a lot,

Félix

On Thu, May 21, 2020 at 4:09 PM Jason Maldonis [email protected] wrote:

Thanks for the message. Riot removed this piece of information a while ago, so it looks like it is gone permanently. We will remove this in the next release of Cass.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/meraki-analytics/cassiopeia/issues/326#issuecomment-632317208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOI4V2RT6NRLMUK4I4GFN53RSWDBDANCNFSM4NHBYC3Q .

felixchretien avatar May 21 '20 20:05 felixchretien

That is correct.

We removed this in #429

jjmaldonis avatar Oct 07 '22 21:10 jjmaldonis